Skip to content

Commit

Permalink
fix: fail job when nix build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
nilp0inter committed Jul 9, 2024
1 parent d571f41 commit 8145aa8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-and-cache-23-11-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jobs:
name: autofirma-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake metadata --update-input nixpkgs
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote | jq -r '.[].outputs | to_entries[].value' | cachix push autofirma-nix
1 change: 1 addition & 0 deletions .github/workflows/build-and-cache-24-05-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jobs:
name: autofirma-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake metadata --update-input nixpkgs
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote | jq -r '.[].outputs | to_entries[].value' | cachix push autofirma-nix
2 changes: 2 additions & 0 deletions .github/workflows/build-and-cache-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:
with:
name: autofirma-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake metadata --update-input nixpkgs
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote | jq -r '.[].outputs | to_entries[].value' | cachix push autofirma-nix
1 change: 1 addition & 0 deletions .github/workflows/build-and-cache-unstable-on-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jobs:
name: autofirma-nix
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake metadata --update-input nixpkgs
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote
- run: nix build --json .#autofirma .#configuradorfnmt .#dnieremote | jq -r '.[].outputs | to_entries[].value' | cachix push autofirma-nix

0 comments on commit 8145aa8

Please sign in to comment.