Skip to content

Commit

Permalink
Update install-nix-action and cachix-action
Browse files Browse the repository at this point in the history
Updating install-nix-action should fix haskell-infra#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 haskell-infra#265 but applied to both workflow files.
  • Loading branch information
TikhonJelvis authored and tomjaguarpaw committed Apr 30, 2023
1 parent cef5651 commit b1dccfb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'
Expand Down

0 comments on commit b1dccfb

Please sign in to comment.