-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(github): added cachnix workflow
- Loading branch information
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
# TODO Create pipeline for nix cache result of filebot | ||
name: Build filebot for cachnix | ||
run-name: Build filebot for cachnix | ||
on: [ release ] | ||
jobs: | ||
build: | ||
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.default" |
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