fix binary compression on Windows

This commit is contained in:
Johann150 2021-02-18 11:07:40 +01:00
parent 16a9af51b3
commit 3ba808ca79
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1

View file

@ -78,16 +78,16 @@ jobs:
- name: strip names
run: strip target/release/agate.exe
- name: compress
run: gzip -c target/release/agate.exe > ./agate.exe.gz
run: Compress-Archive -LiteralPath target/release/agate.exe -DestinationPath agate.zip
- name: upload release asset win
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_name: agate.x86_64-pc-windows-msvc.exe.gz
asset_path: agate.exe.gz
asset_content_type: application/gzip
asset_name: agate.x86_64-pc-windows-msvc.zip
asset_path: agate.zip
asset_content_type: application/zip
build_macos:
runs-on: macos-latest