更新 .gitea/workflows/main.yaml
CI / Build (push) Successful in 38s Details

This commit is contained in:
root 2024-06-30 20:43:54 +08:00
parent 81ed17a816
commit 4ed512b142
1 changed files with 5 additions and 4 deletions

View File

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