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