mirror of
https://github.com/logos-storage/logos-storage-proofs-circuits.git
synced 2026-01-08 00:13:10 +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
|
s3_bucket_path: proving-key
|
||||||
circuit_file: workflow/build/proof_main.zkey
|
circuit_file: workflow/build/proof_main.zkey
|
||||||
constraints_file: workflow/build/proof_main.r1cs
|
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
|
zip_file: workflow/build/proof_circuit.zip
|
||||||
storage_url: https://circuit.codex.storage
|
storage_url: https://circuit.codex.storage
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ jobs:
|
|||||||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
||||||
run: |
|
run: |
|
||||||
# Zip
|
# 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
|
# Variables
|
||||||
hash=($(shasum -a 256 ${{ env.zip_file }}))
|
hash=($(shasum -a 256 ${{ env.zip_file }}))
|
||||||
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
|
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user