From c2447907ac6726dfcbff0980b9032db2c8252d06 Mon Sep 17 00:00:00 2001 From: mole Date: Fri, 25 Apr 2025 11:23:42 +0200 Subject: [PATCH] Pin nuget publish stages to 22.04 --- build/azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 767c0848cf..c7fea2eb8c 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -829,6 +829,8 @@ stages: condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.myGetDeploy}})) jobs: - job: + pool: + vmImage: "ubuntu-22.04" # NuGetCommand@2 is no longer supported on Ubuntu 24.04 so use 22.04 until an alternative is available. displayName: Push to pre-release feed steps: - checkout: none @@ -890,6 +892,8 @@ stages: condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.nuGetDeploy}})) jobs: - job: + pool: + vmImage: "ubuntu-22.04" # NuGetCommand@2 is no longer supported on Ubuntu 24.04 so use 22.04 until an alternative is available. displayName: Push to NuGet steps: - checkout: none