mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 08:43:55 +08: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
Add a link
Reference in a new issue