mirror of
https://github.com/sstent/NixOS_ARM_SDImages.git
synced 2026-01-26 23:22:04 +00:00
Update Build_SDImage_aarch64.yml
This commit is contained in:
13
.github/workflows/Build_SDImage_aarch64.yml
vendored
13
.github/workflows/Build_SDImage_aarch64.yml
vendored
@@ -7,15 +7,18 @@ jobs:
|
|||||||
name: Build OS image - AARCH64
|
name: Build OS image - AARCH64
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install Nix
|
||||||
- uses: cachix/install-nix-action@v13
|
uses: DeterminateSystems/nix-installer-action@v4
|
||||||
with:
|
with:
|
||||||
# Pin because the latest all-hardware profile changes
|
# Pin because the latest all-hardware profile changes
|
||||||
# https://github.com/NixOS/nixpkgs/pull/128532
|
# https://github.com/NixOS/nixpkgs/pull/128532
|
||||||
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/c23146505c35a07bafbecf36af4f9ebde2bb7dfd.tar.gz
|
#nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/c23146505c35a07bafbecf36af4f9ebde2bb7dfd.tar.gz
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
extra-platforms = aarch64-linux
|
extra-platforms = aarch64-linux
|
||||||
|
- name: Run the Magic Nix Cache
|
||||||
|
uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
@@ -31,7 +34,7 @@ jobs:
|
|||||||
nix-build '<nixpkgs/nixos>' \
|
nix-build '<nixpkgs/nixos>' \
|
||||||
-A config.system.build.sdImage \
|
-A config.system.build.sdImage \
|
||||||
-I nixos-config=./sd-image_aarch64.nix \
|
-I nixos-config=./sd-image_aarch64.nix \
|
||||||
--argstr system aarch64-linux \
|
--argstr system aarch64-linux
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user