mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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&
|
- run: sudo rm -rf /opt&
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v25 # v25
|
- name: Install Nix
|
||||||
with:
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||||
|
|
||||||
- uses: cachix/cachix-action@v14
|
- uses: cachix/cachix-action@v14
|
||||||
with:
|
with:
|
||||||
name: daylin
|
name: daylin
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
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
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
nix run . --accept-flake-config -- cache --host "${{ matrix.host }}" --flake .
|
nix run . --accept-flake-config -- cache --host "${{ matrix.host }}" --flake .
|
||||||
|
|
Loading…
Reference in a new issue