diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b4e923..63d1bd5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,25 +59,25 @@ jobs: script: | nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}} --no-nom -- --cores 1 -j1 - # - name: download last artifact - # uses: dawidd6/action-download-artifact@v11 - # with: - # workflow: main.yml - # workflow_conclusion: success - # name: ${{ matrix.os }}-${{ matrix.hostname }}-result - # if_no_artifact_found: ignore + - name: download last artifact + uses: dawidd6/action-download-artifact@v11 + with: + workflow: main.yml + workflow_conclusion: success + name: ${{ matrix.os }}-${{ matrix.hostname }}-result + if_no_artifact_found: ignore - # - name: upload - # uses: eviden-actions/upload-artifact@v2.0.0 - # with: - # name: ${{ matrix.os }}-${{ matrix.hostname }}-result - # path: - # result + - name: upload + uses: eviden-actions/upload-artifact@v2.0.0 + with: + name: ${{ matrix.os }}-${{ matrix.hostname }}-result + path: + result/* - # - name: extract result - # run: | - # tar -xvf ${{ matrix.os }}-${{ matrix.hostname }}-result.tar.gz last-result || true + - name: extract result + run: | + tar -xvf ${{ matrix.os }}-${{ matrix.hostname }}-result.tar.gz last-result || true - # - name: diff - # run: | - # nix run nixpkgs#nvd -- diff last-result result || true + - name: diff + run: | + nix run nixpkgs#nvd -- diff last-result result || true