serialize release matrix builds to fix duplicate-release race

Running x64/arm64 tauri-action in parallel let both jobs race on
find-or-create-release for the same tag, producing two release objects
that each only got their own arch's assets (and a latest.json missing
the other platform's entry, breaking auto-update for it).
This commit is contained in:
Horizontal42 2026-07-01 16:28:52 +03:00
parent a2dcd6ebba
commit cfe5336aa3

View file

@ -12,6 +12,10 @@ jobs:
build: build:
strategy: strategy:
fail-fast: false fail-fast: false
# tauri-action's find-or-create-release check races across parallel
# matrix jobs and can create two separate release objects for the
# same tag, each missing the other's assets — force serial builds
max-parallel: 1
matrix: matrix:
include: include:
- target: x86_64-pc-windows-msvc - target: x86_64-pc-windows-msvc