From 16788bc7b2228ea50e86f00df560edc3ed3f1e29 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 14 Mar 2025 01:01:18 -0400 Subject: [PATCH] workflow: upload artifact only for packages --- .../workflows/build-machines-and-homes.yml | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/build-machines-and-homes.yml b/.github/workflows/build-machines-and-homes.yml index 429a454..2e9a593 100644 --- a/.github/workflows/build-machines-and-homes.yml +++ b/.github/workflows/build-machines-and-homes.yml @@ -77,16 +77,6 @@ jobs: cache="$(nix-store --query --requisites --include-outputs "$derivation")" attic push main --stdin <<< "$cache" - - name: prepare tarball to upload - run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result - - - name: upload result - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.machine }}-${{ matrix.os }} - path: result.tar - if-no-files-found: error - build-homes: strategy: matrix: @@ -147,13 +137,3 @@ jobs: derivation="$(nix path-info --derivation "$package")" cache="$(nix-store --query --requisites --include-outputs "$derivation")" attic push main --stdin <<< "$cache" - - - name: prepare tarball to upload - run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result - - - name: upload result - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.home }}-${{ matrix.os }} - path: result.tar - if-no-files-found: error