diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 649dcb123c1..0f5970cfe87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -194,39 +194,69 @@ jobs: echo "groups=$groups" echo "groups=$(jq -nc --argjson g "$groups" '$g')" >> $GITHUB_OUTPUT fetch: - name: Fetch Proof Parameters + name: Fetch Dependencies runs-on: ubuntu-latest outputs: - key: ${{ steps.cache.outputs.key }} - path: ${{ steps.cache.outputs.path }} + parameters_key: ${{ steps.parameters.outputs.key }} + parameters_path: ${{ steps.parameters.outputs.path }} + filcrypto_key: ${{ steps.filcrypto.outputs.key }} + filcrypto_path: ${{ steps.filcrypto.outputs.path }} steps: - - id: cache + - uses: actions/checkout@v4 + with: + submodules: 'recursive' + - id: parameters + env: + CACHE_KEY: filecoin-proof-parameters-${{ hashFiles('./extern/filecoin-ffi/parameters.json') }} + CACHE_PATH: | + /var/tmp/filecoin-proof-parameters/ + run: | + echo -e "key=$CACHE_KEY" | tee -a $GITHUB_OUTPUT + echo -e "path<