From 712d5f0346408698d0e25c441a6b2bc99bce9b13 Mon Sep 17 00:00:00 2001 From: jneira Date: Tue, 4 Aug 2020 01:14:49 +0200 Subject: [PATCH] Add exe extension to win executables --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3373f72757..a66482c139 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,9 +65,9 @@ jobs: run: | HLS_BUILD=$(find dist-newstyle \( -name 'hls' -o -name 'hls.exe' \) -type f) HLS=haskell-language-server-$GHC_VER - mv $HLS_BUILD $HLS + mv $HLS_BUILD $HLS${{env.EXE_EXT}} if [[ "$OSTYPE" == "msys" ]]; then - 7z a $HLS.zip $HLS + 7z a $HLS.zip $HLS${{env.EXE_EXT}} echo ::set-output name=path::$HLS.zip echo ::set-output name=content_type::application/zip echo ::set-output name=extension::zip @@ -103,9 +103,9 @@ jobs: run: | HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f) HLS_WRAPPER=haskell-language-server-wrapper - mv $HLS_WRAPPER_BUILD $HLS_WRAPPER + mv $HLS_WRAPPER_BUILD $HLS_WRAPPER${{env.EXE_EXT}} if [[ "$OSTYPE" == "msys" ]]; then - 7z a $HLS_WRAPPER.zip $HLS_WRAPPER + 7z a $HLS_WRAPPER.zip $HLS_WRAPPER${{env.EXE_EXT}} echo ::set-output name=path::$HLS_WRAPPER.zip echo ::set-output name=content_type::application/zip echo ::set-output name=extension::zip