workflow: upload artifact only for packages
This commit is contained in:
parent
5dd8b87f38
commit
16788bc7b2
1 changed files with 0 additions and 20 deletions
20
.github/workflows/build-machines-and-homes.yml
vendored
20
.github/workflows/build-machines-and-homes.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue