From 38e25efefefef9e30c24006a387bbb07c831805b Mon Sep 17 00:00:00 2001 From: Billy Robert O'Neal III Date: Tue, 5 Nov 2024 13:50:41 -0800 Subject: [PATCH] wip --- .github/workflows/test_modified_ports.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test_modified_ports.yml b/.github/workflows/test_modified_ports.yml index 75f4fc3c2c74df..0f49437e36640b 100644 --- a/.github/workflows/test_modified_ports.yml +++ b/.github/workflows/test_modified_ports.yml @@ -36,9 +36,19 @@ jobs: $end = Get-Date -Date $endDate -UFormat '+%Y-%m-%dT%H:%MZ' Write-Host "Getting Asset Cache SAS" $assetSas = az storage container generate-sas --name cache --account-name vcpkgassetcachewus3 --as-user --auth-mode login --https-only --permissions rcl --expiry $end -o tsv | Out-String + if ($LastExitCode -eq 0) { + Write-Host "Got asset cache SAS token successfully" + } else { + Write-Host "Failed to get asset cache SAS token" + } $assetSas = $assetSas.Trim() Write-Host "Getting Binary Cache SAS" $binarySas = az storage container generate-sas --name cache --account-name vcpkgbinarycachewus --as-user --auth-mode login --https-only --permissions rclw --expiry $end -o tsv | Out-String + if ($LastExitCode -eq 0) { + Write-Host "Got binary cache SAS token successfully" + } else { + Write-Host "Failed to get binary cache SAS token" + } $binarySas = $binarySas.Trim() $env:X_VCPKG_ASSET_SOURCES = "x-azurl,https://vcpkgassetcachewus3.blob.core.windows.net/cache,$assetSas,readwrite;x-block-origin" & scripts/azure-pipelines/test-modified-ports.ps1 -Triplet x64-windows -BinarySourceStub "x-azblob,https://vcpkgbinarycachewus.blob.core.windows.net/cache,$binarySas" -WorkingRoot D:\ -ArtifactStagingDirectory D:\artifactstaging