ci: reduce CI costs by ~54% — skip desktop builds in PR/main, reduce scheduled frequency (#5090)

This commit is contained in:
James Rich 2026-04-12 13:59:21 -05:00 committed by GitHub
parent ade314d503
commit c059f19cc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 27 additions and 9 deletions

View file

@ -18,6 +18,9 @@ on:
api_levels:
type: string
default: '[35]'
run_desktop_builds:
type: boolean
default: true
upload_artifacts:
type: boolean
default: true
@ -358,6 +361,7 @@ jobs:
# ── Desktop Build ───────────────────────────────────────────────────
build-desktop:
name: Build Desktop Debug (${{ matrix.os }})
if: inputs.run_desktop_builds == true
runs-on: ${{ matrix.os }}
permissions:
contents: read