Skip to content

Commit

Permalink
fix gha cache conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ecordell committed Dec 6, 2021
1 parent b0370b6 commit 2d79d97
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yaml
Expand Up @@ -53,6 +53,14 @@ jobs:
- uses: "actions/setup-go@v2"
with:
go-version: "^1.16"
- uses: "actions/cache@v2"
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: "${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}"
restore-keys: |
${{ runner.os }}-go-
- name: "Cache Binaries"
id: "cache-binaries"
uses: "actions/cache@v2"
Expand All @@ -77,14 +85,7 @@ jobs:
popd
mv ./chaos-mesh/watchmaker ./watchmaker
popd
- uses: "actions/cache@v2"
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: "${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}"
restore-keys: |
${{ runner.os }}-go-
- name: "Build SpiceDB"
working-directory: "e2e/newenemy"
run: |
Expand Down

0 comments on commit 2d79d97

Please sign in to comment.