Fix gh-actions: cachix-install broke somehow (#29)

* Update main.yml

* Update main.yml
This commit is contained in:
Johannes Kirschbauer 2023-04-19 13:52:20 +02:00 committed by GitHub
parent 8993e6a408
commit 7561618bc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,16 +14,13 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v11
- uses: cachix/cachix-action@v12
with:
name: noogle
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix build
- name: Publish to Cloudflare Pages
if: github.event_name == 'push'