Skip to content

daily-update

daily-update #477

Workflow file for this run

# Runs the generate script on a daily basis to look for new tooling updates.
name: "daily-update"
# The importer is run every day at 07:00 UTC and can also be run manually from
# the 'Actions' tab.
on:
workflow_dispatch:
schedule:
- cron: "0 7 * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v2
- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run the generate script
run: |
cd generate
npm ci
nix develop --command spago run -p bin -m Bin.Main -- update ../manifests --commit