mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
Use the correct SAS token for macos and fix tensorflow build failing on success. (#20512)
* Use the correct SAS token for macos and fix tensorflow build failing on success. * Fix binary cache.
This commit is contained in:
parent
2a31089e77
commit
f670aa5657
@ -27,9 +27,9 @@ jobs:
|
||||
value: /Users/vagrant/Data
|
||||
- name: VCPKG_DOWNLOADS
|
||||
value: /Users/vagrant/Data/downloads
|
||||
- group: osx-binary-caching-credentials
|
||||
- name: BINARY_SOURCE_STUB
|
||||
value: "x-azblob,$(root-url),$(sas)"
|
||||
- group: vcpkg-binary-caching-credentials
|
||||
- name: X_VCPKG_BINARY_SOURCE_STUB
|
||||
value: "x-azblob,$(root-bin-url),$(sas-bin)"
|
||||
- group: vcpkg-asset-caching-credentials
|
||||
- name: X_VCPKG_ASSET_SOURCES
|
||||
value: "x-azurl,$(root-url),$(sas),readwrite"
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
arguments: >
|
||||
-Triplet "x64-osx"
|
||||
-BuildReason "$(Build.Reason)"
|
||||
-BinarySourceStub "${{ variables.BINARY_SOURCE_STUB }}"
|
||||
-BinarySourceStub "${{ variables.X_VCPKG_BINARY_SOURCE_STUB }}"
|
||||
-WorkingRoot "${{ variables.WORKING_ROOT }}"
|
||||
-ArtifactStagingDirectory "$(Build.ArtifactStagingDirectory)"
|
||||
${{ variables.PowershellExtraArguments }}
|
||||
|
@ -140,6 +140,9 @@ if ($null -ne $OnlyTest)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
$failureLogsEmpty = ((Test-Path $failureLogs) -and (Get-ChildItem $failureLogs).count -eq 0)
|
||||
Write-Host "##vso[task.setvariable variable=FAILURE_LOGS_EMPTY]$failureLogsEmpty"
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user