From b2760e44026d0ed0cd66655598d44a68d3e51b85 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Sat, 5 Jul 2025 09:26:01 -0400 Subject: [PATCH] run nvd with uploaded artifacts --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5078848..7068599 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,9 +57,18 @@ jobs: script: | nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1 - - name: Upload artifact - uses: actions/cache@v4 + - name: Download artifact + uses: actions/download-artifact@v4 with: - key: ${{ matrix.hostname }}-${{ matrix.arch }} + id: ${{ matrix.hostname }}-${{ matrix.arch }} + path: last-result + + - name: diff + run: nix run nixpkgs#nvd -- diff last-result result + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + id: ${{ matrix.hostname }}-${{ matrix.arch }} path: | result