mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 11:28:17 +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:
10
.github/workflows/macos-generation.yml
vendored
10
.github/workflows/macos-generation.yml
vendored
@@ -105,13 +105,6 @@ jobs:
|
||||
-VIPassword ${{ secrets.VI_PASSWORD }} `
|
||||
-Cluster ${{ env.ESXI_CLUSTER }}
|
||||
|
||||
- name: Create xcversion session cookie file
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}/xcversion-cookie
|
||||
cookie='${{ secrets.XCVERSION_AUTH_COOKIE }}'
|
||||
echo "$cookie" > ${{ runner.temp }}/xcversion-cookie/cookie
|
||||
|
||||
- name: Build VM
|
||||
run: |
|
||||
$SensitiveData = @(
|
||||
@@ -131,9 +124,6 @@ jobs:
|
||||
-var="github_api_pat=${{ secrets.GH_FEED_TOKEN }}" `
|
||||
-var="build_id=${{ env.VM_NAME }}" `
|
||||
-var="baseimage_name=${{ inputs.base_image_name }}" `
|
||||
-var="xcode_install_user=${{ secrets.XCODE_USER }}" `
|
||||
-var="xcode_install_password=${{ secrets.XCODE_PASSWORD }}" `
|
||||
-var="xcversion_auth_cookie=${{ env.XCVERSION_COOKIE_PATH }}" `
|
||||
-color=false `
|
||||
${{ inputs.template_path }} `
|
||||
| Where-Object {
|
||||
|
||||
Reference in New Issue
Block a user