mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
[macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach xcversion does not work anymore, we are switching to storing XCode installers in intermediate Azure storage * remove xcode_install_user, xcode_install_password * rename xcode_install_storage --> xcode_install_storage_url * mark xcode installation variables sensitive * remove xcversion_auth_cookie variable * renamed forgotten xcode_install_storage --> xcode_install_storage_url * remove leftover xcode_install_user
This commit is contained in:
@@ -12,9 +12,8 @@
|
||||
"vm_username": null,
|
||||
"vm_password": null,
|
||||
"github_api_pat": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"xcversion_auth_cookie": null,
|
||||
"xcode_install_storage_url": null,
|
||||
"xcode_install_sas": null,
|
||||
"image_os": "macos11"
|
||||
},
|
||||
"builders": [
|
||||
@@ -165,22 +164,13 @@
|
||||
"API_PAT={{user `github_api_pat`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"inline": "mkdir -p ~/.fastlane/spaceship/{{user `xcode_install_user`}}"
|
||||
},
|
||||
{
|
||||
"type": "file",
|
||||
"source": "{{user `xcversion_auth_cookie`}}",
|
||||
"destination": "~/.fastlane/spaceship/{{user `xcode_install_user`}}/cookie"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"execute_command": "chmod +x {{ .Path }}; {{ .Vars }} pwsh -f {{ .Path }}",
|
||||
"script": "./provision/core/xcode.ps1",
|
||||
"environment_vars": [
|
||||
"XCODE_INSTALL_USER={{user `xcode_install_user`}}",
|
||||
"XCODE_INSTALL_PASSWORD={{user `xcode_install_password`}}"
|
||||
"XCODE_INSTALL_STORAGE_URL={{user `xcode_install_storage_url`}}",
|
||||
"XCODE_INSTALL_SAS={{user `xcode_install_sas`}}"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user