ci: more prepare steps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
张泊明518370910136 2024-03-25 03:38:34 -04:00
parent 93079b5b7b
commit 6286a81500
GPG Key ID: D47306D7062CDA9D

View File

@ -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: