mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Fix build VM step
This commit is contained in:
@@ -28,12 +28,8 @@ jobs:
|
|||||||
SourceFolder: 'images/macos/provision/log/'
|
SourceFolder: 'images/macos/provision/log/'
|
||||||
RemoveSourceFolder: true
|
RemoveSourceFolder: true
|
||||||
|
|
||||||
- task: PowerShell@2
|
- pwsh: |
|
||||||
displayName: 'Build VM'
|
./images.CI/macos/build-image.ps1 -Image "${{ parameters.image_name }}" `
|
||||||
inputs:
|
|
||||||
targetType: filePath
|
|
||||||
filePath: ./images.CI/macos/build-image.ps1
|
|
||||||
arguments: -Image "${{ parameters.image_name }}" `
|
|
||||||
-VcenterServer "$(vcenter_server_v2)" `
|
-VcenterServer "$(vcenter_server_v2)" `
|
||||||
-VcenterUsername "$(vcenter_username_v2)" `
|
-VcenterUsername "$(vcenter_username_v2)" `
|
||||||
-VcenterPassword "$(vcenter_password_v2)" `
|
-VcenterPassword "$(vcenter_password_v2)" `
|
||||||
@@ -51,6 +47,9 @@ jobs:
|
|||||||
-GithubFeedToken "$(GITHUB_FEED_TOKEN)" `
|
-GithubFeedToken "$(GITHUB_FEED_TOKEN)" `
|
||||||
-XcodeInstallationUser "$(xcode-installation-user)" `
|
-XcodeInstallationUser "$(xcode-installation-user)" `
|
||||||
-XcodeInstallationPassword "$(xcode-installation-password)"
|
-XcodeInstallationPassword "$(xcode-installation-password)"
|
||||||
|
displayName: 'Build VM'
|
||||||
|
env:
|
||||||
|
PACKER_LOG: 0
|
||||||
workingDirectory: 'images/macos'
|
workingDirectory: 'images/macos'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
|
|||||||
Reference in New Issue
Block a user