Skip to content

nightly-update

nightly-update #651

Workflow file for this run

name: "nightly-update"
on:
push:
branches:
- main
workflow_dispatch: # allows manual triggering
schedule:
- cron: "0 0 * * SUN" # every sunday
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: nixbuild/nix-quick-install-action@v21
with:
nix_conf: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v12
with:
name: zeek
- name: Julia Version Update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
nix develop .#update --command nvfetcher-update
- name: Commit changes
if: ${{ env.COMMIT_MSG != null }}
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: ${{ env.COMMIT_MSG }}