ci: release.yml 也加 Gitea 守卫(打 tag 时不在 Gitea 上误跑桌面发布构建)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user