Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(ci): serialize release matrix so platforms share one draft release

esengine4fb45a7f730f
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index f3e027d77..a5e739120 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -9,6 +9,11 @@ jobs:
release:
strategy:
fail-fast: false
+ # Serialize the platforms: electron-builder's GitHub publisher creates the draft
+ # release lazily, so running all three in parallel races and produces duplicate
+ # drafts with the artifacts split between them. With one at a time, the first job
+ # creates the draft and the rest find and upload to it.
+ max-parallel: 1
matrix:
platform:
- macos-latest