更新 .gitea/workflows/ci.yml
This commit is contained in:
parent
06ebf13db2
commit
5bbe6c3bcd
|
@ -8,7 +8,6 @@ env:
|
||||||
COMMIT_ID: "${{ github.sha }}"
|
COMMIT_ID: "${{ github.sha }}"
|
||||||
PR_PROMPT: "::warning:: Build artifact will not be uploaded due to the workflow is trigged by pull request."
|
PR_PROMPT: "::warning:: Build artifact will not be uploaded due to the workflow is trigged by pull request."
|
||||||
LD_FLAGS: "-w -s"
|
LD_FLAGS: "-w -s"
|
||||||
VERSION: "action"
|
|
||||||
HTTP_PROXY: "http://172.17.0.1:7890"
|
HTTP_PROXY: "http://172.17.0.1:7890"
|
||||||
HTTPS_PROXY: "http://172.17.0.1:7890"
|
HTTPS_PROXY: "http://172.17.0.1:7890"
|
||||||
GOPROXY: "https://goproxy.cn,direct"
|
GOPROXY: "https://goproxy.cn,direct"
|
||||||
|
@ -21,6 +20,10 @@ jobs:
|
||||||
image: node:16-bullseye
|
image: node:16-bullseye
|
||||||
# 持久化工具目录
|
# 持久化工具目录
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: setup go
|
- name: setup go
|
||||||
uses: https://github.com/actions/setup-go@v4
|
uses: https://github.com/actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
|
@ -41,3 +44,4 @@ jobs:
|
||||||
# path: dist/*/*
|
# path: dist/*/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue