Skip to content

Commit

Permalink
CI: cache outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
42LoCo42 committed Dec 10, 2023
1 parent e0704ac commit eef8a03
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ jobs:
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Install nixci
- name: Enable Nix caching
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Install nixci and cachix
uses: yaxitech/nix-install-pkgs-action@v3
with:
packages: "nixpkgs#nixci"
packages: "nixpkgs#nixci, cachix"
- name: Run nixci
run: nixci
env:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
run: nixci | cachix push 42loco42

0 comments on commit eef8a03

Please sign in to comment.