ci: release 工作流仅保留 Linux 构建(当前 runner 无 windows-latest 标签)
Release / Meta (push) Canceled after 0s
Release / Test (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Publish package (push) Canceled after 0s

Windows 产物改由本地 publish-gitea 脚本上传;runner 就绪后可恢复矩阵。
This commit is contained in:
2026-09-28 23:08:01 +08:00
parent 4e70741f55
commit 262bc265d8
+6 -3
View File
@@ -46,6 +46,8 @@ jobs:
run: cargo test -p mqttx-desktop --lib run: cargo test -p mqttx-desktop --lib
# ─── 构建矩阵 ───────────────────────────────────────────────── # ─── 构建矩阵 ─────────────────────────────────────────────────
# 目前 Gitea 实例只注册了 ubuntu-latest 标签的 Linux runner,
# Windows 产物由本地 scripts/publish-gitea.ps1/.sh 上传补充。
build: build:
name: Build (${{ matrix.os }}) name: Build (${{ matrix.os }})
needs: [meta, test] needs: [meta, test]
@@ -54,12 +56,13 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- os: windows-latest
asset: mqttx.exe
target: x86_64-pc-windows-msvc
- os: ubuntu-latest - os: ubuntu-latest
asset: mqttx asset: mqttx
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
# runner 就绪后可恢复 Windows 构建:
# - os: windows-latest
# asset: mqttx.exe
# target: x86_64-pc-windows-msvc
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4