mirror of
https://code.forgejo.org/actions/download-artifact.git
synced 2024-12-23 12:36:01 +01:00
Update test.yml workflow
This commit is contained in:
parent
3421aafe77
commit
1764f7203b
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
@ -128,3 +128,15 @@ jobs:
|
||||||
Write-Error "File contents of downloaded artifacts are incorrect"
|
Write-Error "File contents of downloaded artifacts are incorrect"
|
||||||
}
|
}
|
||||||
shell: pwsh
|
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"
|
||||||
|
|
Loading…
Reference in a new issue