mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 19:11:58 +03:00
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:
parent
a2dcd6ebba
commit
cfe5336aa3
1 changed files with 4 additions and 0 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue