Skip to content

Commit

Permalink
Merge pull request #6286 from chainer-ci/bp-6281-v10-fix-gha-ccache
Browse files Browse the repository at this point in the history
[backport] Fix cache key for github actions
  • Loading branch information
kmaehashi committed Jan 4, 2022
2 parents ba1cc74 + f662727 commit f18bac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pretest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.ccache
key: ccache
key: ccache-${{ github.sha }}
restore-keys: ccache-${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.sha }}

- name: Setup ccache
run: |
Expand Down

0 comments on commit f18bac9

Please sign in to comment.