ci: update build action
This commit is contained in:
@@ -15,20 +15,19 @@ jobs:
|
|||||||
- name: Setup sudo (required for the next step)
|
- name: Setup sudo (required for the next step)
|
||||||
run: apt-get update && apt-get install -y sudo
|
run: apt-get update && apt-get install -y sudo
|
||||||
- name: Setup nix
|
- name: Setup nix
|
||||||
uses: cachix/install-nix-action@v30
|
uses: cachix/install-nix-action@v31
|
||||||
with:
|
with:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
|
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
nix_path: nixpkgs=channel:nixos-25.05
|
nix_path: nixpkgs=channel:nixos-25.05
|
||||||
- uses: cachix/cachix-action@v15
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
name: palkx
|
name: palkx
|
||||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
extraPullNames: nix-community
|
extraPullNames: nix-community
|
||||||
- name: Build nix flake
|
- name: Build nix flake
|
||||||
run: |
|
run: |
|
||||||
while true; do sleep 1; rm -rf /homeless-shelter; done &
|
nix build .
|
||||||
nix build
|
|
||||||
- name: Check nix flake
|
- name: Check nix flake
|
||||||
run: nix flake check --all-systems
|
run: nix flake check --all-systems
|
||||||
|
|||||||
Reference in New Issue
Block a user