ci
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Gitea Actions Demo / Release Go Binary (386, linux) (push) Failing after 32s
Gitea Actions Demo / Release Go Binary (386, windows) (push) Failing after 28s
Gitea Actions Demo / Release Go Binary (amd64, darwin) (push) Failing after 28s
Gitea Actions Demo / Release Go Binary (amd64, linux) (push) Failing after 24s
Gitea Actions Demo / Release Go Binary (arm64, darwin) (push) Failing after 25s
Gitea Actions Demo / Release Go Binary (amd64, windows) (push) Failing after 29s
Gitea Actions Demo / Release Go Binary (arm64, linux) (push) Failing after 23s

This commit is contained in:
yzqzss 2024-06-09 02:28:48 +08:00
parent 8fe3bd348e
commit 6b8b9217f7

View File

@ -1,8 +1,9 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} build go🚀
on:
release:
types: [published]
on:
push:
tags:
- '*'
jobs:
Explore-Gitea-Actions:
@ -35,9 +36,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
id: go-release-action
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
multi_binaries: true
project_path: ./cmd/...
upload: false
# output is release_asset_dir
- name: release-action
id: release-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
${{ steps.go-release-action.outputs.release_asset_dir }}/**
api_key: '${{secrets.RELEASE_TOKEN}}'