mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-23 15:08:29 +02:00
Update test.yml
This commit is contained in:
parent
1c317c8eb6
commit
36cf293611
1 changed files with 0 additions and 15 deletions
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
|
@ -118,21 +118,6 @@ jobs:
|
|||
- run: ls -lR some
|
||||
|
||||
|
||||
- name: Verify successful download
|
||||
run: |
|
||||
$fileA = "some/other/pathgz/Artifact-A"
|
||||
$fileB = "some/other/pathgz/Artifact-B"
|
||||
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
|
||||
{
|
||||
Write-Error "Expected files do not exist"
|
||||
}
|
||||
if(!((Get-Content $fileA) -ceq "Lorem ipsum dolor sit amet") -or !((Get-Content $fileB) -ceq "Hello world from file B"))
|
||||
{
|
||||
Write-Error "File contents of downloaded artifacts are incorrect"
|
||||
}
|
||||
shell: pwsh
|
||||
|
||||
|
||||
# Test downloading a single artifact
|
||||
- name: Download artifact A
|
||||
uses: ./
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue