From cf76372523e38b4c87bb1f9274ba7fe7cf7143a3 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Fri, 21 Mar 2025 23:53:55 +0530 Subject: [PATCH 1/2] workflows/build-nixos-manual: run it on aarch64-linux too Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- .github/workflows/manual-nixos-v2.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-nixos-v2.yml b/.github/workflows/manual-nixos-v2.yml index 1f03215388175..297aecb8ceb5e 100644 --- a/.github/workflows/manual-nixos-v2.yml +++ b/.github/workflows/manual-nixos-v2.yml @@ -34,7 +34,10 @@ jobs: with: # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere. name: nixpkgs-ci - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - name: Building NixOS manual - run: NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux + run: | + export NIX_PATH=nixpkgs=$(pwd) + nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux -o result-x86_64-linux + nix-build --option restrict-eval true nixos/release.nix -A manual.aarch64-linux -o result-aarch64-linux From 0c2d6b0b38a966df30c6501cb7ae36de82175da8 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sat, 22 Mar 2025 01:29:55 +0530 Subject: [PATCH 2/2] workflows/build-nixos-manual: upload result Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com> --- .github/workflows/manual-nixos-v2.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/manual-nixos-v2.yml b/.github/workflows/manual-nixos-v2.yml index 297aecb8ceb5e..2681ee4ac4884 100644 --- a/.github/workflows/manual-nixos-v2.yml +++ b/.github/workflows/manual-nixos-v2.yml @@ -41,3 +41,10 @@ jobs: export NIX_PATH=nixpkgs=$(pwd) nix-build --option restrict-eval true nixos/release.nix -A manual.x86_64-linux -o result-x86_64-linux nix-build --option restrict-eval true nixos/release.nix -A manual.aarch64-linux -o result-aarch64-linux + + - name: Upload NixOS manual + uses: actions/upload-artifact@3850ca5b6c832f17a0f754f6293181ebbf4e161d # v3.2.5 + with: + name: nixos-manual-result + path: result-** + if-no-files-found: error