From 995ef80940c627047f941b14c8f8d56262f215db Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Thu, 24 Jul 2025 09:39:00 +0300 Subject: [PATCH] Revert "Change how the cache key is computed" This reverts commit 75afdd9cfdae7282b261f885e96004b9ead9ba5f. --- .github/workflows/test.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 329b4f3..0eeb93f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,11 +45,6 @@ jobs: rustup target add wasm32-unknown-unknown rustup component add rust-src - - name: Get polkadot-sdk SHA - id: submod - working-directory: polkadot-sdk - run: echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT - - name: Cache binaries id: cache uses: actions/cache@v3 @@ -57,7 +52,7 @@ jobs: path: | ~/.cargo/bin/substrate-node ~/.cargo/bin/eth-rpc - key: polkadot-binaries-${{ matrix.os }}-${{ steps.submod.outputs.sha }} + key: polkadot-binaries-${{ matrix.os }}-${{ hashFiles('polkadot-sdk/.git') }} - name: Build substrate-node if: steps.cache.outputs.cache-hit != 'true'