Pin nuget publish stages to 22.04

This commit is contained in:
mole
2025-04-25 11:23:42 +02:00
parent e7a5a5623d
commit c2447907ac

View File

@@ -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