Skip to content

Update sources

Update sources #122

Workflow file for this run

name: Update sources
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Update sources
run: |
chmod +x update.sh
./update.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build examples
run: |
nix build ./examples/* --override-input devkitNix .
- name: Add & Commit
uses: EndBug/[email protected]
with:
default_author: github_actions
message: "Update sources"