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.

internal: a push to master queues its Build instead of cancelling the one in progress

yhh90b7f68ed10d
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d572f5c98..27fb50cf4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,7 +11,9 @@ on:
concurrency:
group: build-${{ github.ref }}
- cancel-in-progress: true
+ # master queues: a push there must finish its run (a Packages job alone is 35 minutes), or a
+ # busy day leaves master with no result at all. Branches and PRs still cancel what they supersede.
+ cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
# Least privilege: this workflow only reads the repo and moves artifacts (the
# artifact API runs on its own runtime token, not contents). Nothing here writes