Add atuin + nh #224
Workflow file for this run
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: Push flake inputs to Cachix | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v25 | |
- name: Install Cachix | |
uses: cachix/cachix-action@v14 | |
with: | |
name: pdalpra | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Setup cache | |
uses: DeterminateSystems/magic-nix-cache-action@v3 | |
- name: Push flake inputs to Cachix | |
run: |- | |
nix flake archive --json | \ | |
jq -r '.path,(.inputs|to_entries[].value.path)' | \ | |
cachix push pdalpra |