Skip to content

Commit 0b4c7c6

Browse files
authored
Update Set-VcpkgWriteModeCache.ps1 (#9728)
1 parent a22c0e8 commit 0b4c7c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

eng/scripts/Set-VcpkgWriteModeCache.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param(
2-
[string] $StorageAccountName = 'cppvcpkgcache',
2+
[string] $StorageAccountName = 'azuresdkartifacts',
33
[string] $StorageContainerName = 'public-vcpkg-container'
44
)
55

@@ -40,5 +40,5 @@ Write-Host "Ensure redaction of SAS tokens in logs"
4040
Write-Host "##vso[task.setvariable variable=VCPKG_BINARY_SAS_TOKEN;issecret=true;]$vcpkgBinarySourceSas"
4141

4242
Write-Host "Setting vcpkg binary cache to read and write"
43-
Write-Host "##vso[task.setvariable variable=VCPKG_BINARY_SOURCES_SECRET;issecret=true;]clear;x-azblob,https://cppvcpkgcache.blob.core.windows.net/$StorageContainerName,$vcpkgBinarySourceSas,readwrite"
44-
Write-Host "##vso[task.setvariable variable=X_VCPKG_ASSET_SOURCES_SECRET;issecret=true;]clear;x-azurl,https://cppvcpkgcache.blob.core.windows.net/$StorageContainerName,$vcpkgBinarySourceSas,readwrite"
43+
Write-Host "##vso[task.setvariable variable=VCPKG_BINARY_SOURCES_SECRET;issecret=true;]clear;x-azblob,https://$StorageAccountName.blob.core.windows.net/$StorageContainerName,$vcpkgBinarySourceSas,readwrite"
44+
Write-Host "##vso[task.setvariable variable=X_VCPKG_ASSET_SOURCES_SECRET;issecret=true;]clear;x-azurl,https://$StorageAccountName.blob.core.windows.net/$StorageContainerName,$vcpkgBinarySourceSas,readwrite"

0 commit comments

Comments
 (0)