mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-20 23:17:30 +03:00
ci: refactor build steps of cli
GitOrigin-RevId: 918276b6883fe15b2be93fae2dd260acc959ff69
This commit is contained in:
parent
834c324d47
commit
6d4e0266c9
@ -427,14 +427,6 @@ jobs:
|
||||
- restore_cache:
|
||||
keys:
|
||||
- cli-gopkg-{{ checksum "cli/go.mod" }}-{{ checksum "cli/go.sum" }}
|
||||
- run:
|
||||
name: get cli dependencies
|
||||
working_directory: cli
|
||||
command: make deps
|
||||
- save_cache:
|
||||
key: cli-gopkg-{{ checksum "cli/go.mod" }}-{{ checksum "cli/go.sum" }}
|
||||
paths:
|
||||
- /go/pkg
|
||||
- *wait_for_postgres
|
||||
- run:
|
||||
name: test cli
|
||||
@ -446,6 +438,10 @@ jobs:
|
||||
make build
|
||||
make compress
|
||||
make ci-copy-binary
|
||||
- save_cache:
|
||||
key: cli-gopkg-{{ checksum "cli/go.mod" }}-{{ checksum "cli/go.sum" }}
|
||||
paths:
|
||||
- /go/pkg/mod
|
||||
- store_artifacts:
|
||||
path: /build/_cli_output
|
||||
destination: cli
|
||||
|
Loading…
Reference in New Issue
Block a user