From c36a000684ebdd4d11f2beb2e7d49ecee674ca21 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 31 Oct 2024 23:01:28 -0700 Subject: [PATCH] fix(ci): remove cachix push and add magic nix cache --- .github/workflows/main.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c683fcf..263c3aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,10 @@ jobs: build-nix: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: | + actions/checkout@v4 + DeterminateSystems/nix-installer-action@main + DeterminateSystems/magic-nix-cache-action@main - name: Install Nix uses: cachix/install-nix-action@v30 @@ -24,9 +27,9 @@ jobs: - name: Build with cachix uses: cachix/cachix-action@v15 - with: - name: hakyll-nix-template - authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + # with: + # name: hakyll-nix-template + # authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - run: nix build --accept-flake-config