chore: make the release a manual dispatch

The job carried if: false, which blocks workflow_dispatch as well as
push, so there was no way to cut a release through CI at all and the
comment described a temporary state that had become permanent.

Releasing is deliberate: the push trigger is gone and the job runs when
someone dispatches it. The seven-day rate limit stays as the guard
against dispatching twice, and concurrency no longer cancels a run that
may be midway through uploading assets.
This commit is contained in:
Abdessamad Derraz committed 2026-08-11 05:08:40 +02:00
1 parent 0ea21912ce
commit 1f33148180
3 files changed
+30 -20

No files matched your search

+5 -7
View File
@@ -1,11 +1,10 @@
name: Build & Release
# Releasing is a deliberate act, not a consequence of pushing. Cutting one is
# a manual dispatch: someone decides the collection is in a state worth
# publishing, and the rate limit below still guards against doing it twice by
# accident.
on:
push:
branches: [main]
# A pack is the platform baseline plus what its cores need, so a profile
# change alters pack contents just as a platform list does.
paths: ["bios/**", "platforms/**", "emulators/**"]
workflow_dispatch:
inputs:
force_release:
@@ -17,11 +16,10 @@ permissions: {}
concurrency:
group: build
cancel-in-progress: true
cancel-in-progress: false
jobs:
release:
if: false # disabled until pack generation is validated in production
runs-on: ubuntu-latest
permissions:
contents: write