mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-09 13:36:56 +02:00
chore(ci): cache go-build results on github actions (#2559)
This commit is contained in:
parent
e546cb74bb
commit
aca255493b
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -48,10 +48,12 @@ jobs:
|
||||
with:
|
||||
go-version: '1.17'
|
||||
-
|
||||
name: Cache Go modules
|
||||
name: Cache Go mod and build
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/go/pkg/mod
|
||||
path: |
|
||||
~/go/pkg/mod
|
||||
~/.cache/go-build
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
|
Loading…
x
Reference in New Issue
Block a user