mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-02 10:38:15 -06:00
* Enable scheduled nightly builds and automatic Stage 2 signer dispatch * ci: update actions lockfile for nightly-dispatch.yml
38 lines
1.5 KiB
YAML
38 lines
1.5 KiB
YAML
name: DeckCraft unsigned nightly
|
|
|
|
# Runs on the reviewed nightly schedule (01:00 UTC) and for supervised manual runs
|
|
# by the reviewed manual actors. Completed scheduled runs are forwarded by nightly-dispatch.yml.
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
unsigned:
|
|
# Actual context guards only; no inherited/platform secrets.
|
|
if: >-
|
|
github.repository == 'storytold/deckcraft' &&
|
|
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: deckcraft
|
|
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
|
|
craft-fonts-ref: 37827adc41fd165f9a9234ac40f94dbad353aa69
|
|
# One producer run builds every listed platform for one all-or-nothing release. The pin is the
|
|
# craft-common-actions main commit that merged the exact-analysis admission (#371, after #370,
|
|
# #369 and #364).
|
|
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
|
|
linux-package-formats: '["deb","rpm","appimage","flatpak","oci","arch"]'
|