mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Match setup-go caching key in GitHub Actions (#9890)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
81cd630f87
commit
4e26ee1f84
3
.github/actions/setup-go/action.yaml
vendored
3
.github/actions/setup-go/action.yaml
vendored
@ -23,6 +23,7 @@ runs:
|
||||
path: |
|
||||
${{ env.GO_MODCACHE }}
|
||||
${{ env.GO_CACHE }}
|
||||
key: setup-go-${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('go.sum') }}
|
||||
# Match the cache key to the setup-go action https://github.com/actions/setup-go/blob/main/src/cache-restore.ts#L34
|
||||
key: setup-go-${{ runner.os }}-${{ env.ImageOS }}-go-${{ env.GO_VERSION }}-${{ hashFiles('go.sum') }}
|
||||
restore-keys: |
|
||||
setup-go-${{ runner.os }}-
|
Loading…
Reference in New Issue
Block a user