mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
use nix installer in both workflows
This commit is contained in:
parent
172d5df94e
commit
544216f83f
1 changed files with 4 additions and 10 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -20,21 +20,15 @@ jobs:
|
|||
- run: sudo rm -rf /opt&
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25 # v25
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: daylin
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
# - name: Build all flake outputs
|
||||
# run: |
|
||||
# cachix watch-exec daylin -- \
|
||||
# nix build github:srid/devour-flake \
|
||||
# -L --no-link --print-out-paths \
|
||||
# --override-input flake .
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
nix run . --accept-flake-config -- cache --host "${{ matrix.host }}" --flake .
|
||||
|
|
Loading…
Reference in a new issue