ci: release.yml 也加 Gitea 守卫(打 tag 时不在 Gitea 上误跑桌面发布构建)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Blizzard
2026-07-18 15:33:29 +08:00
parent 05b66399f9
commit e350fa9595
+2
View File
@@ -17,6 +17,8 @@ env:
jobs: jobs:
build: build:
name: 构建 ${{ matrix.label }} name: 构建 ${{ matrix.label }}
# 只在 GitHub 跑;Gitea(git.sundynix.cn)不跑桌面端发布构建。
if: ${{ !contains(github.server_url, 'sundynix.cn') }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false