ci: release 工作流仅保留 Linux 构建(当前 runner 无 windows-latest 标签)
Windows 产物改由本地 publish-gitea 脚本上传;runner 就绪后可恢复矩阵。
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user