File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
azure-self-hosted-runners Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 39
39
# For more information, see https://learn.microsoft.com/en-us/azure/virtual-machines/dplsv5-dpldsv5-series (which
40
40
# unfortunately does not have more information about price by region)
41
41
AZURE_VM_REGION : westus2
42
+ AZURE_VM_IMAGE : win11-23h2-ent
42
43
43
44
# The following secrets are required for this workflow to run:
44
45
# AZURE_CREDENTIALS - Credentials for the Azure CLI. It's recommended to set up a resource
@@ -130,6 +131,7 @@ jobs:
130
131
githubActionsRunnerRegistrationUrl="$ACTIONS_RUNNER_REGISTRATION_URL"
131
132
githubActionsRunnerToken="$ACTIONS_RUNNER_TOKEN"
132
133
postDeploymentPsScriptUrl="$POST_DEPLOYMENT_SCRIPT_URL"
134
+ virtualMachineImage="$AZURE_VM_IMAGE"
133
135
virtualMachineName="${{ steps.generate-vm-name.outputs.vm_name }}"
134
136
virtualMachineSize="$AZURE_VM_TYPE"
135
137
publicIpAddressName1="${{ steps.generate-vm-name.outputs.vm_name }}-ip"
Original file line number Diff line number Diff line change 81
81
"osDiskDeleteOption" : {
82
82
"type" : " string"
83
83
},
84
+ "virtualMachineImage" : {
85
+ "type" : " string"
86
+ },
84
87
"virtualMachineSize" : {
85
88
"type" : " string"
86
89
},
209
212
"imageReference" : {
210
213
"publisher" : " microsoftwindowsdesktop" ,
211
214
"offer" : " windows11preview-arm64" ,
212
- "sku" : " win11-22h2-ent " ,
215
+ "sku" : " [parameters('virtualMachineImage')] " ,
213
216
"version" : " latest"
214
217
}
215
218
},
You can’t perform that action at this time.
0 commit comments