Skip to content

Commit

Permalink
feat(ci) Change wasmer.tar.gz to wasmer.zip on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Feb 11, 2021
1 parent 67e8679 commit cf0c56c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: artifacts/wasmer-windows-amd64/wasmer.tar.gz
asset_name: wasmer-windows-amd64.tar.gz
asset_content_type: application/gzip
asset_path: artifacts/wasmer-windows-amd64/wasmer.zip
asset_name: wasmer-windows-amd64.zip
asset_content_type: application/zip

- name: Upload Release Asset Linux amd64
uses: actions/upload-release-asset@v1
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,12 @@ distribution: package
ifeq ($(OS), Windows_NT)
iscc scripts/windows-installer/wasmer.iss
cp scripts/windows-installer/WasmerInstaller.exe dist/
endif
cd package && zip -r ../wasmer.zip . && cd -
mv wasmer.zip dist/
else
tar -C package -zcvf wasmer.tar.gz bin lib include LICENSE ATTRIBUTIONS
mv wasmer.tar.gz dist/
endif

#################
# Miscellaneous #
Expand Down

0 comments on commit cf0c56c

Please sign in to comment.