Fix: actions build
This commit is contained in:
parent
0d004bf6f3
commit
0a2701eef0
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -20,9 +20,7 @@ jobs:
|
|||||||
- name: Cache go module
|
- name: Cache go module
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: ~/go/pkg/mod
|
||||||
~/go/pkg/mod
|
|
||||||
~/.cache/go-build
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-go-
|
${{ runner.os }}-go-
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//go:build build_local
|
//go:build build_local
|
||||||
|
// +build build_local
|
||||||
|
|
||||||
package script
|
package script
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//go:build !build_local && cgo
|
//go:build !build_local
|
||||||
|
// +build !build_local
|
||||||
|
|
||||||
package script
|
package script
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user