更新 .gitea/workflows/main.yaml
CI / Build (push) Successful in 38s
Details
CI / Build (push) Successful in 38s
Details
This commit is contained in:
parent
81ed17a816
commit
4ed512b142
|
@ -5,19 +5,20 @@ jobs:
|
|||
name: Build
|
||||
runs-on: runner
|
||||
steps:
|
||||
- name: install nodejs
|
||||
- name: install nodejs&golang
|
||||
run: |
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
apk add nodejs
|
||||
apk add go
|
||||
- uses: actions/checkout@v4
|
||||
- name: add dns to hosts
|
||||
run: |
|
||||
chmod +x run.sh
|
||||
./run.sh
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.22
|
||||
# - uses: actions/setup-go@v5
|
||||
# with:
|
||||
# go-version: 1.22
|
||||
|
||||
- name: echo hello world
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue