From 1764f7203b6354f88f7ce2c1c9a8875d5f7168c3 Mon Sep 17 00:00:00 2001 From: Christopher Roemheld Date: Tue, 20 Feb 2024 15:17:00 +0100 Subject: [PATCH] Update test.yml workflow --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d23bbb7..62d4453 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -128,3 +128,15 @@ jobs: Write-Error "File contents of downloaded artifacts are incorrect" } shell: pwsh + + - name: Download non-existent Artifact + id: not-existent-artifact + uses: ./ + with: + name: Artifact-C-${{ matrix.runs-on }} + allow-not-found: true + + - name: Verify empty download-path output + if: ${{ steps.not-existent-artifact.outputs.download-path != '' }} + run: | + Write-Error "Expected download-path output is not empty"