commit 3ba808ca79a69b816a13eccd468adb4f36898929 parent 16a9af51b377d6b063d79d519b6ec838e39e245f Author: Johann150 <johann.galle@protonmail.com> Date: Thu, 18 Feb 2021 11:07:40 +0100 fix binary compression on Windows Diffstat:
M | .github/workflows/rust.yml | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml @@ -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