mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Update xcode.ps1
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
$ErrorActionPreference = "Stop"
|
$ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
Import-Module "$PSScriptRoot/../../helpers/Common.Helpers.psm1"
|
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
|
||||||
Import-Module "$PSScriptRoot/../../helpers/Xcode.Installer.psm1"
|
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1"
|
||||||
|
|
||||||
if ([string]::IsNullOrEmpty($env:XCODE_INSTALL_USER) -or [string]::IsNullOrEmpty($env:XCODE_INSTALL_PASSWORD)) {
|
if ([string]::IsNullOrEmpty($env:XCODE_INSTALL_USER) -or [string]::IsNullOrEmpty($env:XCODE_INSTALL_PASSWORD)) {
|
||||||
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user