1
0
mirror of https://gitea.com/actions/download-artifact.git synced 2025-02-23 20:20:37 +07:00

Update test.yml workflow

This commit is contained in:
Christopher Roemheld 2024-02-20 15:17:00 +01:00
parent 37f47e93bd
commit c5034ab9b5

View File

@ -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"