mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Macos 13 xcode 15 beta5 (#8037)
This commit is contained in:
@@ -124,7 +124,10 @@ function Approve-XcodeLicense {
|
||||
$XcodeRootPath = Get-XcodeRootPath -Version $Version
|
||||
Write-Host "Approving Xcode license for '$XcodeRootPath'..."
|
||||
$xcodeBuildPath = Get-XcodeToolPath -XcodeRootPath $XcodeRootPath -ToolName "xcodebuild"
|
||||
Invoke-ValidateCommand "sudo $xcodeBuildPath -license accept"
|
||||
try {
|
||||
Invoke-Expression -Command "sudo $xcodeBuildPath -license accept" 2>&1 | Out-Null
|
||||
} catch { }
|
||||
|
||||
}
|
||||
|
||||
function Install-XcodeAdditionalPackages {
|
||||
|
||||
Reference in New Issue
Block a user