diff --git a/.github/actions/node-and-build/action.yml b/.github/actions/node-and-build/action.yml index ce7f4095b72..7737febacbe 100644 --- a/.github/actions/node-and-build/action.yml +++ b/.github/actions/node-and-build/action.yml @@ -25,7 +25,7 @@ runs: **/esm/ **/cjs/ **/packages/core/src/Platform/version.ts - key: ${{ runner.os }}-build-artifacts-${{ hashFiles('./amplify-js/yarn.lock') }} + key: ${{ runner.os }}-build-artifacts-${{ github.sha }} restore-keys: | ${{ runner.os }}-build-artifacts- env: