更新 .gitea/workflows/main.yaml
CI / Build (push) Successful in 5s
Details
CI / Build (push) Successful in 5s
Details
This commit is contained in:
parent
0cb53c4574
commit
1091dc4826
|
@ -5,10 +5,11 @@ jobs:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: runner
|
runs-on: runner
|
||||||
steps:
|
steps:
|
||||||
- name: install nodejs&golang
|
- name: install nodejs&golang and set proxy
|
||||||
run: |
|
run: |
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
apk add npm
|
apk add npm
|
||||||
|
npm config set registry https://npm.aliyun.com
|
||||||
apk add go
|
apk add go
|
||||||
export GOPROXY="https://goproxy.io,direct"
|
export GOPROXY="https://goproxy.io,direct"
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
Loading…
Reference in New Issue