change frequency to nightly as I update my flake lock automation
This commit is contained in:
parent
9b66d9cc5f
commit
bc471dd331
1 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,9 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
paths: [".forgejo/workflows/build.yaml"]
|
paths: [".forgejo/workflows/build.yaml"]
|
||||||
|
# schedule every night
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
jobs:
|
jobs:
|
||||||
nix-build:
|
nix-build:
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
|
@ -15,6 +18,8 @@ jobs:
|
||||||
os: native-aarch64
|
os: native-aarch64
|
||||||
- system: telchar
|
- system: telchar
|
||||||
os: native-x86_64
|
os: native-x86_64
|
||||||
|
- system: gandalf
|
||||||
|
os: native-x86_64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
PATH: ${{ format('{0}:{1}', '/run/current-system/sw/bin', env.PATH) }}
|
PATH: ${{ format('{0}:{1}', '/run/current-system/sw/bin', env.PATH) }}
|
||||||
|
@ -22,7 +27,7 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: https://github.com/cachix/cachix-action@v15
|
- uses: https://github.com/cachix/cachix-action@v15
|
||||||
if: ${{ !github.event.pull_request.head.repo.fork }}
|
if: ${{ !github.event.pull_request.head.repo.fork }}
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue