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