Bump again for the latest staging-next #241
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 cache" | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
NIX_CONFIG: "access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}" | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 ## not shallow | |
filter: 'blob:none' ## but blob-less | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
install_url: https://releases.nixos.org/nix/nix-2.17.1/install | |
extra_nix_config: "experimental-features = nix-command flakes fetch-closure" | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: chezbryan | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: ./build.sh --dry-run | |
- run: ./build.sh |