ci: run with gitea token
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
93ce120758
commit
0abd1158fb
|
@ -10,6 +10,9 @@ server:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
|
environment:
|
||||||
|
CONF_GITEATOKEN:
|
||||||
|
from_secret: gitea-token
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:/usr/local/go/bin
|
- export PATH=$PATH:/usr/local/go/bin
|
||||||
- go env -w GOPROXY=https://goproxy.cn,direct
|
- go env -w GOPROXY=https://goproxy.cn,direct
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
In order to register sandbox executor, you need to run go-judge before running this program.
|
In order to register sandbox executor, you need to run go-judge before running this program.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ make clean && make && ./_example/success/run.sh && ./_example/compile_error/run.sh
|
$ export CONF_GITEATOKEN="<YOUR_TOKEN>" && make clean && make && ./_example/success/run.sh && ./_example/compile_error/run.sh
|
||||||
rm -rf ./build/*
|
rm -rf ./build/*
|
||||||
rm -rf *.out
|
rm -rf *.out
|
||||||
go build -o ./build/joj3 ./cmd/joj3
|
go build -o ./build/joj3 ./cmd/joj3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user