Skip to content

Commit

Permalink
use determinate systems installer for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
redxtech committed Apr 2, 2024
1 parent a19a6f7 commit 54890f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cachix-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ jobs:
with:
tool-cache: true
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run the magic nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/nix-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/cachix-action@v12
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run the magic nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: gabedunn
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
Expand All @@ -48,9 +51,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Run the magic nix cache
uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
Expand Down

0 comments on commit 54890f8

Please sign in to comment.