Files
gridcraft/.github/workflows/nightly.yml
T
Dylan M. Taylor be7732912b ci(nightly): enable automated scheduled nightly builds and Stage 2 signer dispatch (#4881)
* ci(nightly): enable scheduled nightly builds and automatic signer dispatch

* ci: update actions lockfile for nightly-dispatch.yml

* test(packaging): read workspace version from Cargo.toml in Linux launch test
2026-11-29 18:26:46 -05:00

36 lines
1.4 KiB
YAML

name: GridCraft unsigned nightly
# Automated daily nightly builds at 03:30 UTC (plus manual dispatch by reviewed manual actors).
on:
schedule:
- cron: '30 3 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
unsigned:
# Actual context guards only; no inherited/platform secrets.
if: >-
github.repository == 'storytold/gridcraft' &&
github.ref == 'refs/heads/main' && github.ref_type == 'branch' &&
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
# Maximum for the reusable workflow. Its compiler narrows to contents/actions read;
# no OIDC, attestation write, release environment or platform secrets in compilation.
permissions:
contents: read
actions: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@main
with:
tooling-revision: main
app-name: gridcraft
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
craft-fonts-ref: b076417b5880bd4154bd22f00695b1d28c6bea83
# One producer run builds every listed platform for one all-or-nothing release. The pin is the
# craft-common-actions main commit that merged 8389cad8 (#375, the signer Windows fix).
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
linux-package-formats: '["deb","rpm","appimage","flatpak","oci","arch"]'