mirror of
https://github.com/logos-storage/logos-storage-proofs-circuits.git
synced 2026-01-05 06:53:05 +00:00
attempt to fix wasm path
This commit is contained in:
parent
9b224cf2ca
commit
d92db4d6d6
4
.github/workflows/generate.yml
vendored
4
.github/workflows/generate.yml
vendored
@ -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
|
||||
|
||||
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user