File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -135,3 +135,29 @@ jobs:
135
135
name : haskell-language-server-wrapper-${{ runner.OS }}${{env.EXE_EXT}}.${{ steps.compress_wrapper_binary.outputs.extension }}
136
136
path : ${{ steps.compress_wrapper_binary.outputs.path }}
137
137
138
+ # this generates .gz tarfiles containing all the GHC versions for
139
+ # macOS and Linux, used by ghcup
140
+ tar :
141
+ needs : build
142
+ steps :
143
+ - uses : actions/download-artifact@v2
144
+
145
+ - run : |
146
+ for OS in Linux macOS
147
+ do
148
+ tar -czf haskell-language-server-$OS-${{ github.event.release.tag_name }}.tar.gz haskell-language-server-$OS-*.gz
149
+ done
150
+
151
+
152
+ with :
153
+ upload_url : ${{ github.event.release.upload_url }}
154
+ asset_path : haskell-language-server-macOS-${{ github.event.release.tag_name }}.gz
155
+ asset_name : haskell-language-server-macOS-${{ github.event.release.tag_name }}.gz
156
+ asset_content_type : application/gzip
157
+
158
+
159
+ with :
160
+ upload_url : ${{ github.event.release.upload_url }}
161
+ asset_path : haskell-language-server-Linux-${{ github.event.release.tag_name }}.gz
162
+ asset_name : haskell-language-server-Linux-${{ github.event.release.tag_name }}.gz
163
+ asset_content_type : application/gzip
You can’t perform that action at this time.
0 commit comments