From b1dccfbb55ab41837fd358d105b4314e45a70246 Mon Sep 17 00:00:00 2001 From: Tikhon Jelvis Date: Sun, 30 Apr 2023 10:19:05 -0700 Subject: [PATCH] Update install-nix-action and cachix-action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updating install-nix-action should fix #266 (see [cachix @144][1]). I also noticed that `deploy.yml` was not using cachix-action at all, so I updated that as well. Since we're updating the workflows anyhow, I figure we can also bump `cachix-action` while we're at it—same change as #265 but applied to both workflow files. --- .github/workflows/deploy.yml | 8 +++++++- .github/workflows/main.yml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 02d7bd8..9d9fc46 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,13 @@ jobs: - uses: actions/checkout@v2 - name: Install Nix - uses: cachix/install-nix-action@v12 + uses: cachix/install-nix-action@v20 + + - name: Cachix + uses: cachix/cachix-action@v12 + with: + name: haskell-org + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' # The CI Github Action also builds the site and puts it in an # artifact. However, downloading an artifact from a different diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 006a548..9662c4e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v2 - name: Install Nix - uses: cachix/install-nix-action@v12 + uses: cachix/install-nix-action@v20 - name: Cachix - uses: cachix/cachix-action@v10 + uses: cachix/cachix-action@v12 with: name: haskell-org authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'