Skip to content

Commit

Permalink
fix github action cache error
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou committed Aug 28, 2024
1 parent e04e2d7 commit f51df67
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Cache local Maven repository
- name: Cache go dependency
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-maven-
${{ runner.os }}-go-
- name: Integration test
run: |
Expand Down

0 comments on commit f51df67

Please sign in to comment.