mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Enable SPACESHIP_SKIP_2FA_UPGRADE flag for xcversion (#2617)
This commit is contained in:
@@ -10,6 +10,10 @@ if ([string]::IsNullOrEmpty($env:XCODE_INSTALL_USER) -or [string]::IsNullOrEmpty
|
|||||||
throw "Required environment variables XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD are not set"
|
throw "Required environment variables XCODE_INSTALL_USER and XCODE_INSTALL_PASSWORD are not set"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Spaceship Apple ID login fails due to Apple ID prompting to be upgraded to 2FA.
|
||||||
|
# https://github.com/fastlane/fastlane/pull/18116
|
||||||
|
$env:SPACESHIP_SKIP_2FA_UPGRADE = 1
|
||||||
|
|
||||||
$os = Get-OSVersion
|
$os = Get-OSVersion
|
||||||
$xcodeVersions = Get-ToolsetValue "xcode.versions"
|
$xcodeVersions = Get-ToolsetValue "xcode.versions"
|
||||||
$defaultXcode = Get-ToolsetValue "xcode.default"
|
$defaultXcode = Get-ToolsetValue "xcode.default"
|
||||||
|
|||||||
Reference in New Issue
Block a user