From 77662b71d267867fce23649de48853d4e035c621 Mon Sep 17 00:00:00 2001 From: Tim Basten Date: Fri, 6 Feb 2026 11:14:02 +0800 Subject: [PATCH] update --- .gitea/workflows/release.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index f9fd571..1a558b8 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,22 +1,24 @@ name: release -on: +on: push: tags: - - '*' + - "*" jobs: release: runs-on: ubuntu-latest + steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Go Action - id: use-go-action - uses: actions/release-action@main - with: - files: |- - bin/** - api_key: '${{secrets.RELEASE_TOKEN}}' + + - name: Create Gitea Release + uses: gitea.com/actions/gitea-release-action@main + with: + token: ${{ secrets.GITEA_TOKEN }} + tag_name: ${{ gitea.ref_name }} + name: ${{ gitea.ref_name }} + body: "Automated release"