[macos] Adjust Xcode storage Uri (#8445)
This commit is contained in:
@@ -30,7 +30,7 @@ function Invoke-DownloadXcodeArchive {
|
|||||||
$tempXipDirectory = New-Item -Path $DownloadDirectory -Name "Xcode$Version" -ItemType "Directory"
|
$tempXipDirectory = New-Item -Path $DownloadDirectory -Name "Xcode$Version" -ItemType "Directory"
|
||||||
|
|
||||||
$xcodeFileName = 'Xcode-{0}.xip' -f $Version
|
$xcodeFileName = 'Xcode-{0}.xip' -f $Version
|
||||||
$xcodeUri = '{0}{1}{2}'-f ${env:XCODE_INSTALL_STORAGE_URL}, $xcodeFileName, ${env:XCODE_INSTALL_SAS}
|
$xcodeUri = '{0}{1}?{2}'-f ${env:XCODE_INSTALL_STORAGE_URL}, $xcodeFileName, ${env:XCODE_INSTALL_SAS}
|
||||||
|
|
||||||
Start-DownloadWithRetry -Url $xcodeUri -DownloadPath $tempXipDirectory.FullName -Name $xcodeFileName
|
Start-DownloadWithRetry -Url $xcodeUri -DownloadPath $tempXipDirectory.FullName -Name $xcodeFileName
|
||||||
return $tempXipDirectory
|
return $tempXipDirectory
|
||||||
|
|||||||
Reference in New Issue
Block a user