ci: more prepare steps
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
93079b5b7b
commit
6286a81500
|
@ -11,21 +11,20 @@ server:
|
||||||
steps:
|
steps:
|
||||||
- name: prepare
|
- name: prepare
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
|
||||||
- go env -w GOPROXY=https://goproxy.cn,direct
|
- go env -w GOPROXY=https://goproxy.cn,direct
|
||||||
- echo $SHELL
|
- whoami
|
||||||
- echo $PATH
|
- pwd
|
||||||
|
- env
|
||||||
- go version
|
- go version
|
||||||
|
- go env
|
||||||
- name: build
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
|
||||||
- make
|
- make
|
||||||
- name: test
|
- name: test
|
||||||
environment:
|
environment:
|
||||||
CONF_GITEATOKEN:
|
CONF_GITEATOKEN:
|
||||||
from_secret: gitea-token
|
from_secret: gitea-token
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
|
||||||
- make test
|
- make test
|
||||||
- name: store
|
- name: store
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user