File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,14 @@ jobs:
65
65
run : |
66
66
HLS_BUILD=$(find dist-newstyle \( -name 'hls' -o -name 'hls.exe' \) -type f)
67
67
HLS=haskell-language-server-$GHC_VER
68
- mv $HLS_BUILD $HLS
69
68
if [[ "$OSTYPE" == "msys" ]]; then
70
- 7z a $HLS.zip $HLS
69
+ mv $HLS_BUILD $HLS.exe
70
+ 7z a $HLS.zip $HLS.exe
71
71
echo ::set-output name=path::$HLS.zip
72
72
echo ::set-output name=content_type::application/zip
73
73
echo ::set-output name=extension::zip
74
74
else
75
+ mv $HLS_BUILD $HLS
75
76
gzip --best $HLS
76
77
echo ::set-output name=path::$HLS.gz
77
78
echo ::set-output name=content_type::application/gzip
@@ -103,13 +104,14 @@ jobs:
103
104
run : |
104
105
HLS_WRAPPER_BUILD=$(find dist-newstyle \( -name 'hls-wrapper' -o -name 'hls-wrapper.exe' \) -type f)
105
106
HLS_WRAPPER=haskell-language-server-wrapper
106
- mv $HLS_WRAPPER_BUILD $HLS_WRAPPER
107
107
if [[ "$OSTYPE" == "msys" ]]; then
108
- 7z a $HLS_WRAPPER.zip $HLS_WRAPPER
108
+ mv $HLS_WRAPPER_BUILD $HLS_WRAPPER.exe
109
+ 7z a $HLS_WRAPPER.zip $HLS_WRAPPER.exe
109
110
echo ::set-output name=path::$HLS_WRAPPER.zip
110
111
echo ::set-output name=content_type::application/zip
111
112
echo ::set-output name=extension::zip
112
113
else
114
+ mv $HLS_WRAPPER_BUILD $HLS_WRAPPER
113
115
gzip --best $HLS_WRAPPER
114
116
echo ::set-output name=path::$HLS_WRAPPER.gz
115
117
echo ::set-output name=content_type::application/gzip
You can’t perform that action at this time.
0 commit comments