mirror of
https://github.com/actions/cache.git
synced 2025-03-13 11:47:00 +00:00
Added path ~/.cache/go-build
to Golang cache example
This commit is contained in:
parent
cdff11b11f
commit
c8718e9e2f
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ steps:
|
|||
```yaml
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go/pkg/mod
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
|
Loading…
Add table
Reference in a new issue