mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-26 14:07:18 +01:00
Add an action to build all the packages
This commit is contained in:
parent
964ab7b5b0
commit
b87180b985
1 changed files with 19 additions and 0 deletions
19
.github/workflows/build.yml
vendored
Normal file
19
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
name: "Build"
|
||||
on:
|
||||
push:
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: cachix/cachix-action@v11
|
||||
with:
|
||||
name: traxys
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: >
|
||||
nix flake show --json |
|
||||
jq -r '.packages."x86_64-linux" | keys | .[]' |
|
||||
xargs -I'{}' nix build '.#{}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue