mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Update artifact
This commit is contained in:
parent
70aa6b229d
commit
657e87ecc2
1 changed files with 20 additions and 21 deletions
41
.github/workflows/main.yml
vendored
41
.github/workflows/main.yml
vendored
|
|
@ -1,3 +1,5 @@
|
||||||
|
name: build flakes
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
|
|
@ -57,27 +59,24 @@ jobs:
|
||||||
script: |
|
script: |
|
||||||
nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1
|
||||||
|
|
||||||
# - name: Download artifact
|
- name: upload
|
||||||
# uses: actions/download-artifact@v4
|
uses: eviden-actions/upload-artifact@v2.0.0
|
||||||
# with:
|
with:
|
||||||
# name: ${{ matrix.hostname }}-${{ matrix.arch }}
|
name: ${{ martrix.os }}-${{ matrix.hostname }}-result
|
||||||
# path: last-result
|
path:
|
||||||
# github-token: ${{ github.token }}
|
result
|
||||||
|
|
||||||
# - name: extract result
|
- name: download last artifact
|
||||||
# run: |
|
uses: dawidd6/action-download-artifact@v11
|
||||||
# tar -xvf result.tar.gz last-result || true
|
with:
|
||||||
|
workflow: main.yml
|
||||||
|
workflow_conclusion: success
|
||||||
|
name: ${{ martrix.os }}-${{ matrix.hostname }}-result
|
||||||
|
|
||||||
# - name: diff
|
- name: extract result
|
||||||
# run: |
|
run: |
|
||||||
# nix run nixpkgs#nvd -- diff last-result result || true
|
tar -xvf ${{ martrix.os }}-${{ matrix.hostname }}-result.tar.gz last-result || true
|
||||||
|
|
||||||
# - name: compress result
|
- name: diff
|
||||||
# run: tar -czvf result.tar.gz result || true
|
run: |
|
||||||
|
nix run nixpkgs#nvd -- diff last-result result || true
|
||||||
# - name: Upload artifact
|
|
||||||
# uses: actions/upload-artifact@v4
|
|
||||||
# with:
|
|
||||||
# name: ${{ matrix.hostname }}-${{ matrix.arch }}
|
|
||||||
# path: result.tar.gz
|
|
||||||
# github-token: ${{ github.token }}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue