From 5d421ace55e064606a8ea6baecef88342af8f1e8 Mon Sep 17 00:00:00 2001 From: gongyun Date: Fri, 15 May 2026 10:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a39e415..baddab1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -2,8 +2,12 @@ name: Build Release on: push: + branches: + - main + - master tags: - "*" + workflow_dispatch: permissions: contents: read @@ -104,7 +108,7 @@ jobs: needs: - android - windows - if: startsWith(gitea.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') permissions: actions: read contents: read @@ -130,8 +134,8 @@ jobs: GITEA_API_URL: https://git.saont.net/api/v1 GITEA_OWNER: gongyun GITEA_REPO: app - TAG_NAME: ${{ gitea.ref_name }} - TARGET_COMMITISH: ${{ gitea.sha }} + TAG_NAME: ${{ github.ref_name }} + TARGET_COMMITISH: ${{ github.sha }} run: | set -euo pipefail