Skip to content

Commit f0cbf00

Browse files
authored
Merge pull request #56 from hyperledger-labs/release-action
Fix the release action
2 parents 8547ca5 + 6632c07 commit f0cbf00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@ jobs:
5454
- name: Create artifacts archives
5555
working-directory: ${{ runner.temp }}/zeto-artifacts
5656
run: |
57-
tar -czvf zeto-wasm.tar.gz **/*.wasm
58-
tar -czvf zeto-test-proving-keys.tar.gz *.zkey *-vkey.json
57+
tar -czvf zeto-wasm-$ZETO_VER.tar.gz **/*.wasm
58+
tar -czvf zeto-test-proving-keys-$ZETO_VER.tar.gz *.zkey *-vkey.json
5959
6060
- name: Publish Release Artifact
6161
uses: actions/upload-artifact@v4
6262
with:
6363
name: zeto-wasm-and-proving-keys
6464
path: |
65-
${{ runner.temp }}/zeto-artifacts/zeto-wasm.tar.gz
66-
${{ runner.temp }}/zeto-artifacts/**/zeto-test-proving-keys.tar.gz
65+
${{ runner.temp }}/zeto-artifacts/zeto-wasm-*.tar.gz
66+
${{ runner.temp }}/zeto-artifacts/zeto-test-proving-keys-*.tar.gz
6767
6868
create-release:
6969
name: Create GitHub Release
@@ -80,7 +80,7 @@ jobs:
8080
uses: ncipollo/release-action@v1
8181
with:
8282
allowUpdates: 'true'
83-
artifacts: zeto-wasm.tar.gz,zeto-test-proving-keys.tar.gz
83+
artifacts: zeto-wasm-and-proving-keys/*.tar.gz
8484
tag: ${{ env.ZETO_VER }}
8585
env:
8686
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)