Skip to content

Commit

Permalink
chore: fix cache keys
Browse files Browse the repository at this point in the history
🤦
  • Loading branch information
alecthomas committed Feb 9, 2024
1 parent 3628357 commit c63acb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ runs:
uses: actions/cache/restore@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-{{ hashFiles('**/go.sum') }}-go
key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}-go
- name: Restore Maven Modules Cache
id: cache-maven
uses: actions/cache/restore@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-{{ hashFiles('**/pom.xml') }}-maven
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-maven

4 changes: 2 additions & 2 deletions .github/workflows/writecache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
uses: actions/cache/save@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-{{ hashFiles('**/go.sum') }}-go
key: ${{ runner.os }}-${{ hashFiles('**/go.sum') }}-go
- name: Save Maven Modules Cache
id: cache-maven
uses: actions/cache/save@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-{{ hashFiles('**/pom.xml') }}-maven
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}-maven

0 comments on commit c63acb8

Please sign in to comment.