ci: concurrency (cancel-in-progress) on the release build
Continuous "latest" builds track lotus HEAD, so only the newest submodule bump needs to build. Cancel a superseded in-flight release: rapid lotus pushes would otherwise queue several ~30-min Tauri builds back-to-back, and build-linux runs on ubuntu-latest — the same runner pool as cinny web CI — so the queue also starves web CI/deploys. update-manifest only publishes release.json on full success, so a cancelled run leaves the last good manifest untouched. Reviewed by 2 agents (SHIP). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,16 @@ env:
|
||||
GITEA_URL: https://code.lotusguild.org
|
||||
REPO: LotusGuild/cinny-desktop
|
||||
|
||||
# Continuous "latest" builds track lotus HEAD, so only the newest submodule bump
|
||||
# needs to build. Cancel a superseded in-flight release: rapid lotus pushes would
|
||||
# otherwise queue several ~30-min Tauri builds back-to-back, and build-linux runs
|
||||
# on ubuntu-latest — the same runner pool as cinny's web CI — so the queue also
|
||||
# starves web CI/deploys. update-manifest only publishes release.json on full
|
||||
# success, so a cancelled run leaves the last good manifest untouched.
|
||||
concurrency:
|
||||
group: desktop-release-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user