Skip to content

Commit 2d8b5e8

Browse files
Use windows agent for nuget push
1 parent 747e095 commit 2d8b5e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/azure-pipelines.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ stages:
533533
condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.myGetDeploy}}))
534534
jobs:
535535
- job:
536+
pool:
537+
vmImage: "windows-latest" # NuGetCommand@2 is no longer supported on Ubuntu 24.04 so we'll use windows until an alternative is available.
536538
displayName: Push to pre-release feed
537539
steps:
538540
- checkout: none
@@ -559,6 +561,8 @@ stages:
559561
condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.nuGetDeploy}}))
560562
jobs:
561563
- job:
564+
pool:
565+
vmImage: "windows-latest" # NuGetCommand@2 is no longer supported on Ubuntu 24.04 so we'll use windows until an alternative is available.
562566
displayName: Push to NuGet
563567
steps:
564568
- checkout: none

0 commit comments

Comments
 (0)