diff --git a/.github/actions/download-cache-and-artifacts/action.yml b/.github/actions/download-cache-and-artifacts/action.yml index b0afe44df2..74713ca460 100644 --- a/.github/actions/download-cache-and-artifacts/action.yml +++ b/.github/actions/download-cache-and-artifacts/action.yml @@ -33,6 +33,7 @@ runs: - name: download and extract persistent cache artifacts from s3 shell: bash run: | + HASH=$(cat $GITHUB_WORKSPACE/package-lock.json | shasum | head -c 40) REMOTE_PATH="adf/build-cache/${HASH}" if [ -n "${{ inputs.cache-key-suffix }}" ]; then