Skip to content

Commit 712d5f0

Browse files
committed
Add exe extension to win executables
1 parent ba46353 commit 712d5f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
run: |
6666
HLS_BUILD=$(find dist-newstyle \( -name 'hls' -o -name 'hls.exe' \) -type f)
6767
HLS=haskell-language-server-$GHC_VER
68-
mv $HLS_BUILD $HLS
68+
mv $HLS_BUILD $HLS${{env.EXE_EXT}}
6969
if [[ "$OSTYPE" == "msys" ]]; then
70-
7z a $HLS.zip $HLS
70+
7z a $HLS.zip $HLS${{env.EXE_EXT}}
7171
echo ::set-output name=path::$HLS.zip
7272
echo ::set-output name=content_type::application/zip
7373
echo ::set-output name=extension::zip
@@ -103,9 +103,9 @@ jobs:
103103
run: |
104104
HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f)
105105
HLS_WRAPPER=haskell-language-server-wrapper
106-
mv $HLS_WRAPPER_BUILD $HLS_WRAPPER
106+
mv $HLS_WRAPPER_BUILD $HLS_WRAPPER${{env.EXE_EXT}}
107107
if [[ "$OSTYPE" == "msys" ]]; then
108-
7z a $HLS_WRAPPER.zip $HLS_WRAPPER
108+
7z a $HLS_WRAPPER.zip $HLS_WRAPPER${{env.EXE_EXT}}
109109
echo ::set-output name=path::$HLS_WRAPPER.zip
110110
echo ::set-output name=content_type::application/zip
111111
echo ::set-output name=extension::zip

0 commit comments

Comments
 (0)