mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
fix binary compression on Windows
This commit is contained in:
parent
16a9af51b3
commit
3ba808ca79
1 changed files with 4 additions and 4 deletions
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
|
|
@ -78,16 +78,16 @@ jobs:
|
||||||
- name: strip names
|
- name: strip names
|
||||||
run: strip target/release/agate.exe
|
run: strip target/release/agate.exe
|
||||||
- name: compress
|
- 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
|
- name: upload release asset win
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ needs.create_release.outputs.upload_url }}
|
upload_url: ${{ needs.create_release.outputs.upload_url }}
|
||||||
asset_name: agate.x86_64-pc-windows-msvc.exe.gz
|
asset_name: agate.x86_64-pc-windows-msvc.zip
|
||||||
asset_path: agate.exe.gz
|
asset_path: agate.zip
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
build_macos:
|
build_macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue