Skip to content

Commit

Permalink
Include C++ compiler in action cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Mar 6, 2024
1 parent 4c05f8a commit a26ad12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/set-up/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ runs:
uses: actions/cache@v4
with:
path: ${{runner.temp}}/bazel-action-cache
key: bazel-actions-${{runner.os}}-${{inputs.bazel-version}}-${{hashFiles('**')}}
key: bazel-actions-${{runner.os}}-${{inputs.bazel-version}}-${{inputs.cc}}-${{hashFiles('**')}}
restore-keys: |
bazel-actions-${{runner.os}}-${{inputs.bazel-version}}-${{inputs.cc}}-
bazel-actions-${{runner.os}}-${{inputs.bazel-version}}-
bazel-actions-${{runner.os}}-
- name: Configure system (all platforms)
Expand Down

0 comments on commit a26ad12

Please sign in to comment.