mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[macos] add cookie based installation for Xcode (#7666)
This commit is contained in:
committed by
GitHub
parent
be83ef6796
commit
afd68edefb
@@ -58,6 +58,12 @@ jobs:
|
||||
-VIPassword '$(vcenter-password-v2)' `
|
||||
-Cluster "$(esxi-cluster-v2)"
|
||||
|
||||
- task: DownloadSecureFile@1
|
||||
name: xcVersionCookie
|
||||
displayName: 'Download xcversion session cookie'
|
||||
inputs:
|
||||
secureFile: 'cookie'
|
||||
|
||||
- pwsh: |
|
||||
$SensitiveData = @(
|
||||
'IP address:',
|
||||
@@ -79,6 +85,7 @@ jobs:
|
||||
-var="baseimage_name=${{ parameters.base_image_name }}" `
|
||||
-var="xcode_install_user=$(xcode-installation-user)" `
|
||||
-var="xcode_install_password=$(xcode-installation-password)" `
|
||||
-var="xcversion_auth_cookie=$(xcVersionCookie.secureFilePath)" `
|
||||
-color=false `
|
||||
${{ parameters.template_path }} `
|
||||
| Where-Object {
|
||||
|
||||
Reference in New Issue
Block a user