mirror of
https://code.forgejo.org/actions/download-artifact
synced 2025-07-08 11:16:00 +02:00
Update tests again
This commit is contained in:
parent
a3a977a1d6
commit
32e9693460
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -97,11 +97,11 @@ jobs:
|
|||
run: |
|
||||
$fileA = "some/other/path/Artifact-A/world-A.txt"
|
||||
$fileB = "some/other/path/Artifact-B/world-B.txt"
|
||||
if(!(Test-Path -path $fileA) || !(Test-Path -path $fileB))
|
||||
if(!(Test-Path -path $fileA) -or !(Test-Path -path $fileB))
|
||||
{
|
||||
Write-Error "Expected files do not exist"
|
||||
}
|
||||
if(!((Get-Content $fileA) -ceq "hello?") || !((Get-Content $fileB) -ceq "Hello!!"))
|
||||
if(!((Get-Content $fileA) -ceq "hello?") -or !((Get-Content $fileB) -ceq "Hello!!"))
|
||||
{
|
||||
Write-Error "File contents of downloaded artifacts are incorrect"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue