Build Wittano nix repository #73
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Wittano nix repository | |
run-name: Build Wittano nix repository | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
packages: | |
[ | |
catppuccin-icon-theme, | |
nixos-blur, | |
dexy, | |
sugar-candy, | |
wings, | |
bibata-cursor-theme, | |
colloid-cursors-theme, | |
patcherDir, | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Install Nix" | |
uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: "Install Cachix" | |
uses: cachix/cachix-action@v12 | |
with: | |
name: wittano-nix-repo | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: "Check nix packages" | |
run: nix flake check | |
- name: "Build packages" | |
run: "nix build .#packages.x86_64-linux.${{ matrix.packages }}" |