mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-16 04:17:56 +08:00
clean both flake and non-flake API
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user