From 4a9cfea673c3ccfdde933b0a557dd29f7643a481 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Tue, 19 Nov 2024 01:15:09 -0500 Subject: [PATCH] ci: upload build logs --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1917154..9fb65de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -114,14 +114,14 @@ jobs: - name: Build nix packages id: build run: nix shell -f '' nix-build-uncached -c nix-build-uncached ci.nix -build-flags -L -build-flags --keep-going ${{ matrix.qemuSystem && format('--argstr platform {0}', matrix.qemuSystem) }} --argstr subsetName ${{ matrix.subset }} -A cacheOutputs - # - name: Upload debug info - # if: '!cancelled()' - # uses: actions/upload-artifact@v4 - # with: - # name: Rhys-T-nur-packages-debug-${{ matrix.runner }}-${{ matrix.nixpkgs }}-${{ matrix.subset }} - # path: | - # /nix/store/*fcntlPathTest*.drv - # if-no-files-found: ignore + - name: Upload build logs + if: '!cancelled()' + uses: actions/upload-artifact@v4 + with: + name: Rhys-T-nur-packages-build-logs-${{ matrix.runner }}${{ matrix.qemuSystem && format('+qemu-{0}', matrix.qemuSystem) }}-${{ matrix.nixpkgs }}-${{ matrix.subset }} + path: | + /nix/var/log + if-no-files-found: ignore trigger-update: name: Trigger NUR update runs-on: ubuntu-latest