mirror of
https://github.com/actions/runner-images.git
synced 2026-01-05 01:35:22 +08:00
[macos] add cookie based installation for Xcode (#7666)
This commit is contained in:
committed by
GitHub
parent
be83ef6796
commit
afd68edefb
@@ -14,6 +14,7 @@
|
||||
"github_api_pat": null,
|
||||
"xcode_install_user": null,
|
||||
"xcode_install_password": null,
|
||||
"xcversion_auth_cookie": null,
|
||||
"image_os": "macos11"
|
||||
},
|
||||
"builders": [
|
||||
@@ -164,6 +165,15 @@
|
||||
"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 }}",
|
||||
|
||||
Reference in New Issue
Block a user