fix ci
CI / Build binary CI (push) Successful in 2m20s Details
CI / Build artifacts (push) Successful in 2m30s Details

This commit is contained in:
huoxue1 2023-10-07 00:14:24 +08:00
parent cf49f2b065
commit e167400531
1 changed files with 29 additions and 0 deletions

View File

@ -84,6 +84,35 @@ jobs:
cache-to: type=gha,mode=max
shm-size: 2g
ulimit: core=0:0
artifacts:
name: Build artifacts
runs-on: ubuntu-latest
container:
image: node:16-bullseye
# 持久化工具目录
steps:
- name: Checkout
uses: https://gh.huoxue.store/actions/checkout@v3
with:
fetch-depth: 0
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '1.20'
- name: Fetch all tags
run: git fetch --force --tags
- name: Run GoReleaser
uses: https://huoxue.link:12300/huoxue1/goreleaser-action@master
with:
version: latest
args: build --snapshot --timeout 5h30m --clean
env:
GITEA_TOKEN: ${{ secrets.TOKEN }}
- name: upload-artifact
uses: actions/upload-artifact@v3
with:
name: study_xxqg
path: dist/*/*