Skip to content

Commit

Permalink
Merge pull request #56 from hyperledger-labs/release-action
Browse files Browse the repository at this point in the history
Fix the release action
  • Loading branch information
jimthematrix authored Sep 4, 2024
2 parents 8547ca5 + 6632c07 commit f0cbf00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
- name: Create artifacts archives
working-directory: ${{ runner.temp }}/zeto-artifacts
run: |
tar -czvf zeto-wasm.tar.gz **/*.wasm
tar -czvf zeto-test-proving-keys.tar.gz *.zkey *-vkey.json
tar -czvf zeto-wasm-$ZETO_VER.tar.gz **/*.wasm
tar -czvf zeto-test-proving-keys-$ZETO_VER.tar.gz *.zkey *-vkey.json
- name: Publish Release Artifact
uses: actions/upload-artifact@v4
with:
name: zeto-wasm-and-proving-keys
path: |
${{ runner.temp }}/zeto-artifacts/zeto-wasm.tar.gz
${{ runner.temp }}/zeto-artifacts/**/zeto-test-proving-keys.tar.gz
${{ runner.temp }}/zeto-artifacts/zeto-wasm-*.tar.gz
${{ runner.temp }}/zeto-artifacts/zeto-test-proving-keys-*.tar.gz
create-release:
name: Create GitHub Release
Expand All @@ -80,7 +80,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
allowUpdates: 'true'
artifacts: zeto-wasm.tar.gz,zeto-test-proving-keys.tar.gz
artifacts: zeto-wasm-and-proving-keys/*.tar.gz
tag: ${{ env.ZETO_VER }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f0cbf00

Please sign in to comment.