build-all-flakes #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-all-flakes | |
on: | |
workflow_dispatch: | |
jobs: | |
build-flakes: | |
name: Build all flakes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Setup Nix Magic Cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Update sub-flakes | |
run: | | |
nix flake update ./fish | |
nix flake update ./vim | |
nix flake update ./tmux | |
nix flake update ./git | |
nix flake update ./vscode | |
nix flake update ./wezterm | |
nix flake update ./st | |
nix flake update ./jetporch | |
nix flake update . | |
- name: If scheduled or manually triggered, add updated flake.lock if changed, commit and push | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: './' | |
author_name: 'github-actions' | |
author_email: 'github-actions@github.com' |