Skip to content

Commit

Permalink
Fix cache key/restore key mismatch. (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjyw authored Dec 2, 2022
1 parent 615843b commit d40020a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init-pants/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ runs:
# changes to any file that can affect the build, so may not be practical in larger repos.
# The commit SHA serves as a hash of all files in the repo.
# A remote cache service integrates with Pants's fine-grained invalidation and avoids these problems.
key: pants-lmdb-store-${{ runner.os }}-pants-${{ inputs.gha-cache-key }}-${{ github.sha }}
key: pants-lmdb-store-${{ runner.os }}-${{ inputs.gha-cache-key }}-${{ github.sha }}
restore-keys: |
pants-lmdb-store-${{ runner.os }}-${{ inputs.gha-cache-key }}-${{ steps.pants-cache-commit.outputs.CACHECOMMIT }}
pants-lmdb-store-${{ runner.os }}-${{ inputs.gha-cache-key }}-
Expand Down

0 comments on commit d40020a

Please sign in to comment.