diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adff5be78..747fd7bfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -192,6 +192,8 @@ jobs: - name: Download the proof params uses: ./.github/workflows/proof-params-download.yml + with: + parameters-json-hash: ${{ hashFiles('filecoin-proofs/parameters.json') }} - name: Test in release profile run: cargo test --verbose --release --workspace --all-targets diff --git a/.github/workflows/proof-params-download.yml b/.github/workflows/proof-params-download.yml index 0c23f279e..e7e7b0173 100644 --- a/.github/workflows/proof-params-download.yml +++ b/.github/workflows/proof-params-download.yml @@ -1,11 +1,12 @@ name: Download proof params on: workflow_call - #workflow_call: - #inputs: - # config-path: - # required: true - # type: string + workflow_call: + inputs: + # The hash of the parameters.json file. + parameters-json-hash: + required: true + type: string #secrets: # token: # required: true @@ -26,7 +27,7 @@ jobs: - name: Download all Artifacts from proof-params workflow uses: actions/download-artifact@v4 with: - pattern: proof-params-v28-n-${{ hashFiles('filecoin-proofs/parameters.json') }}-* + pattern: proof-params-v28-n-${{ inputs.parameters-json-hash }}-* path: /var/tmp/filecoin-proof-parameters/ merge-multiple: true run-id: ${{ fromJson(steps.latest-proof-params.outputs.data).workflow_runs[0].id }}