workflow: upload result as artifact
This commit is contained in:
parent
8209ff70ff
commit
39e1b2dcaf
2 changed files with 22 additions and 1 deletions
14
.github/workflows/build-machines-and-homes.yml
vendored
14
.github/workflows/build-machines-and-homes.yml
vendored
|
@ -75,6 +75,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
nix run github:zhaofengli/attic push main result
|
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:
|
build-homes:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -133,3 +140,10 @@ jobs:
|
||||||
- name: cache result
|
- name: cache result
|
||||||
run: |
|
run: |
|
||||||
nix run github:zhaofengli/attic push main result
|
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
|
||||||
|
|
7
.github/workflows/build-packages.yml
vendored
7
.github/workflows/build-packages.yml
vendored
|
@ -49,3 +49,10 @@ jobs:
|
||||||
- name: cache result
|
- name: cache result
|
||||||
run: |
|
run: |
|
||||||
nix run github:zhaofengli/attic push main result
|
nix run github:zhaofengli/attic push main result
|
||||||
|
|
||||||
|
- name: upload result
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.package }}-${{ matrix.os }}
|
||||||
|
path: result
|
||||||
|
if-no-files-found: error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue