File tree 1 file changed +19
-16
lines changed
.github/actions/proof-params-download 1 file changed +19
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : Download proof params
2
2
3
- on : workflow_call
4
- workflow_call :
5
- inputs :
6
- # The hash of the parameters.json file.
7
- parameters-json-hash :
8
- required : true
9
- type : string
10
- # secrets:
11
- # token:
12
- # required: true
13
-
14
- jobs :
15
- download :
16
- runs-on : ubuntu-latest
17
- name : Download proof params
3
+ runs :
4
+ using : ' composite'
5
+ # on: workflow_call
6
+ # workflow_call:
7
+ # inputs:
8
+ # # The hash of the parameters.json file.
9
+ # parameters-json-hash:
10
+ # required: true
11
+ # type: string
12
+ # #secrets:
13
+ # # token:
14
+ # # required: true
15
+ #
16
+ # jobs:
17
+ # download:
18
+ # runs-on: ubuntu-latest
19
+ # name: Download proof params
18
20
steps :
19
21
# - uses: actions/checkout@v4
20
22
- name : Get run-id from latest proof-params workflow run
27
29
- name : Download all Artifacts from proof-params workflow
28
30
uses : actions/download-artifact@v4
29
31
with :
30
- pattern : proof-params-v28-n-${{ inputs.parameters-json-hash }}-*
32
+ # pattern: proof-params-v28-n-${{ inputs.parameters-json-hash }}-*
33
+ pattern : proof-params-v28-n-${{ hashFiles('filecoin-proofs/parameters.json') }}-*
31
34
path : /var/tmp/filecoin-proof-parameters/
32
35
merge-multiple : true
33
36
run-id : ${{ fromJson(steps.latest-proof-params.outputs.data).workflow_runs[0].id }}
You can’t perform that action at this time.
0 commit comments