cd.yaml: fix go build command
This commit is contained in:
parent
77b5c734b5
commit
b9142ac4c5
@ -22,7 +22,7 @@ jobs:
|
|||||||
- run: go env -w CGO_ENABLED=1
|
- run: go env -w CGO_ENABLED=1
|
||||||
- env:
|
- env:
|
||||||
GOCACHE: ~/.cache/go-build
|
GOCACHE: ~/.cache/go-build
|
||||||
run: RUN --mount=type=cache,target="~/.cache/go-build" go build -o app ./cmd/app
|
run: go build -o app ./cmd/app
|
||||||
|
|
||||||
- name: Save cached build dependencies
|
- name: Save cached build dependencies
|
||||||
id: cache-project-dependencies-restore
|
id: cache-project-dependencies-restore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user