Skip to content

Commit

Permalink
Add placeholder for vanilla cache
Browse files Browse the repository at this point in the history
  • Loading branch information
coloursofnoise committed Oct 1, 2021
1 parent 9be32e9 commit 44b5cfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azure-pipelines-verify.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Patch verification
if ([string]::IsNullOrEmpty("$env:BIN_URL") -or ($env:BIN_URL -eq '$(BIN_URL)')) {
Write-Output "Skipping patch verification"

if ($env:CACHE_RESTORED -eq "false") {
# Add placeholder for vanilla path to prevent cache warnings
New-Item -ItemType "directory" -Path $env:VANILLA_CACHE
Write-Output "Vanilla cache not available" | Out-File -FilePath $env:VANILLA_CACHE/placeholder.txt
}

Exit 0
}

Expand Down

0 comments on commit 44b5cfb

Please sign in to comment.