Skip to content

Commit

Permalink
attempt to fix wasm path
Browse files Browse the repository at this point in the history
  • Loading branch information
benbierens committed Feb 29, 2024
1 parent 9b224cf commit d92db4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ env:
s3_bucket_path: proving-key
circuit_file: workflow/build/proof_main.zkey
constraints_file: workflow/build/proof_main.r1cs
wasm_file: workflow/build/proof_main.wasm
wasm_file: workflow/build/proof_main_js/proof_main.wasm
zip_file: workflow/build/proof_circuit.zip
storage_url: https://circuit.codex.storage

Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: |
# Zip
zip ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }}
zip -q ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }}
# Variables
hash=($(shasum -a 256 ${{ env.zip_file }}))
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
Expand Down

0 comments on commit d92db4d

Please sign in to comment.