workflow: upload result as artifact

This commit is contained in:
cy 2025-03-13 14:41:49 -04:00
parent 8209ff70ff
commit 39e1b2dcaf
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 22 additions and 1 deletions

View file

@ -75,6 +75,13 @@ jobs:
run: |
nix run github:zhaofengli/attic push main result
- name: upload result
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.machine }}-${{ matrix.os }}
path: result
if-no-files-found: error
build-homes:
strategy:
matrix:
@ -133,3 +140,10 @@ jobs:
- name: cache result
run: |
nix run github:zhaofengli/attic push main result
- name: upload result
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.home }}-${{ matrix.os }}
path: result
if-no-files-found: error