clean both flake and non-flake API

This commit is contained in:
Clément DOUIN
2024-11-27 10:04:12 +01:00
parent 7806de626e
commit 6dc448b062
11 changed files with 154 additions and 302 deletions
+3 -1
View File
@@ -46,6 +46,7 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-24.05
enable_kvm: true
extra_nix_config: "experimental-features = nix-command flakes"
- name: Cache Nix store
uses: cachix/cachix-action@v15
with:
@@ -54,7 +55,8 @@ jobs:
extraPullNames: nix-community
- name: Build release
run: |
nix-build --argstr target ${{ matrix.target }} --arg isStatic true
nix build .#cross-${{ matrix.target }}
nix run .#cross-${{ matrix.target }} -- --version
- name: Upload release artifacts
uses: actions/upload-artifact@v4
with: