mirror of
https://github.com/actions/runner-images.git
synced 2026-01-07 18:58:13 +08:00
[macOS] drop spaceship env variables from Xcode.ps1 (#8310)
This commit is contained in:
@@ -3,10 +3,6 @@ $ErrorActionPreference = "Stop"
|
|||||||
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
|
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
|
||||||
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
|
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
$ARCH = Get-Architecture
|
$ARCH = Get-Architecture
|
||||||
[Array]$xcodeVersions = Get-ToolsetValue "xcode.$ARCH.versions"
|
[Array]$xcodeVersions = Get-ToolsetValue "xcode.$ARCH.versions"
|
||||||
write-host $xcodeVersions
|
write-host $xcodeVersions
|
||||||
|
|||||||
Reference in New Issue
Block a user