BlueGit

ict rusty-teams

Files

rusty-teams / .github / workflows / nightly.yml

nightly.yml

7059d5ef History
nightly.yml 745 B Download Raw
1# Nightly pre-release of main (.github/scripts/nightly.py): tags v<next minor>.0-nightly.<UTC yyyymmddhhmm>
2# and dispatches build.yml for that tag, which publishes it as a pre-release. Skips a day without commits
3# and keeps the newest seven nightlies.
4name: Nightly
5
6on:
7 schedule:
8 - cron: "23 2 * * *"
9 workflow_dispatch:
10
11permissions:
12 actions: write
13 contents: write
14
15concurrency:
16 group: nightly
17 cancel-in-progress: false
18
19jobs:
20 nightly:
21 runs-on: ubuntu-latest
22 timeout-minutes: 10
23 steps:
24 - uses: actions/checkout@v6
25 with:
26 ref: main
27 fetch-depth: 0
28
29 - name: Tag and build
30 env:
31 GH_TOKEN: ${{ github.token }}
32 run: python3 -I .github/scripts/nightly.py