Skip to content

Commit f3ded5a

Browse files
committed
chore: pass in the hash of the parameters.json
1 parent 5aa8244 commit f3ded5a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ jobs:
192192

193193
- name: Download the proof params
194194
uses: ./.github/workflows/proof-params-download.yml
195+
with:
196+
parameters-json-hash: ${{ hashFiles('filecoin-proofs/parameters.json') }}
195197

196198
- name: Test in release profile
197199
run: cargo test --verbose --release --workspace --all-targets

.github/workflows/proof-params-download.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
name: Download proof params
22

33
on: workflow_call
4-
#workflow_call:
5-
#inputs:
6-
# config-path:
7-
# required: true
8-
# type: string
4+
workflow_call:
5+
inputs:
6+
# The hash of the parameters.json file.
7+
parameters-json-hash:
8+
required: true
9+
type: string
910
#secrets:
1011
# token:
1112
# required: true
@@ -26,7 +27,7 @@ jobs:
2627
- name: Download all Artifacts from proof-params workflow
2728
uses: actions/download-artifact@v4
2829
with:
29-
pattern: proof-params-v28-n-${{ hashFiles('filecoin-proofs/parameters.json') }}-*
30+
pattern: proof-params-v28-n-${{ inputs.parameters-json-hash }}-*
3031
path: /var/tmp/filecoin-proof-parameters/
3132
merge-multiple: true
3233
run-id: ${{ fromJson(steps.latest-proof-params.outputs.data).workflow_runs[0].id }}

0 commit comments

Comments
 (0)