Skip to content

Commit

Permalink
add zip asset
Browse files Browse the repository at this point in the history
  • Loading branch information
jx-aoraki committed Sep 6, 2023
1 parent c392005 commit 6ab4a0e
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
command: build
args: --release --target ${{ matrix.target }}

- name: Archive
- name: Archive Tar
uses: a7ul/[email protected]
with:
command: c
Expand All @@ -55,12 +55,28 @@ jobs:
zkpool-prover
outPath: ${{ matrix.target }}.tar.gz

- name: Upload Release Asset
- name: Upload Release Asset - Tar
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ matrix.target }}.tar.gz
asset_name: ${{ matrix.target }}.tar.gz
asset_content_type: application/tar+gzip
asset_content_type: application/tar+gzip

- name: Archive Zip
uses: vimtor/action-zip@v1
with:
files: target/${{ matrix.target }}/release/zkpool-prover
dest: ${{ matrix.target }}.zip

- name: Upload Release Asset - Zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ matrix.target }}.zip
asset_name: ${{ matrix.target }}.zip
asset_content_type: application/zip

0 comments on commit 6ab4a0e

Please sign in to comment.