From 77aa5ad6e43771bfbe0eeff18f3357b3e9bbeb56 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"