Skip to content

Commit

Permalink
add zip back
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-taxiera committed Jul 9, 2024
1 parent cbb4a0e commit f54f4cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,21 @@ jobs:
args: "--locked --release"
strip: true

- name: Package as archive
shell: bash
run: |
cd target/${{ matrix.platform.target }}/release
if [[ "${{ matrix.platform.os }}" == "windows-latest" ]]; then
7z a ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
else
tar czvf ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
fi
cd -
if: |
( startsWith( github.ref, 'refs/tags/v' ) ||
startsWith( github.ref, 'refs/tags/rc' ) ||
github.ref == 'refs/heads/test-release' )
- name: Generate SHA-256
run: shasum -a 256 ${{ matrix.platform.name }}
if: |
Expand Down

0 comments on commit f54f4cd

Please sign in to comment.