change frequency to nightly as I update my flake lock automation
Some checks failed
Build / nix-build (native-aarch64, varda) (push) Successful in 3m13s
Build / nix-build (native-x86_64, gandalf) (push) Failing after 3h5m0s
Build / nix-build (native-x86_64, telchar) (push) Failing after 43m47s

This commit is contained in:
Joseph Hanson 2024-08-05 14:06:30 -05:00
parent 9b66d9cc5f
commit bc471dd331
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -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: