BLen/Ask: basic working version #34
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: nix | |
on: | |
# run on every push to every branch (visibility doesn't matter) | |
push: | |
# don't want pull_request config, since it would run twice | |
jobs: | |
nix-flake-build: | |
runs-on: ubuntu-latest | |
name: build (flake) | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: raehik | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix build |