Skip to content

Commit

Permalink
ci: replace nix-build-uncached with nix-fast-build
Browse files Browse the repository at this point in the history
FIXME: this doesn't work yet since the cachix action doesn't support
flakes yet. See cachix/cachix-action#47
  • Loading branch information
jakobkukla committed Mar 19, 2024
1 parent eda408b commit e861579
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cachix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
with:
name: jakobkukla
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix shell nixpkgs#nix-build-uncached -c nix-build-uncached ./ci.nix
- run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#nixosConfigurations.matebook.config.system.build.toplevel"
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: build
run: |
nix flake update
nix shell nixpkgs#nix-build-uncached -c nix-build-uncached ./ci.nix
nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#nixosConfigurations.matebook.config.system.build.toplevel"
- name: Commit flake.lock on success
if: steps.build.outcome == 'success'
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
6 changes: 0 additions & 6 deletions ci.nix

This file was deleted.

0 comments on commit e861579

Please sign in to comment.