Commit 3abada6
committed
release: run nuget publish job on windows
The legacy NuGetCommand@2 task (used internally by the 1ES output: nuget
template) requires Mono on Linux. Recent updates to the ubuntu-x86_64-ado1es
image to Ubuntu 24.04+ removed Mono availability, breaking the publish step
with: "The task has failed because you are using Ubuntu 24.04 or later
without mono installed."
Move the nuget publish job to the win-x86_64-ado1es image so the task uses
the native nuget.exe and avoids the Mono dependency entirely. The same
Windows pool is already used by the dotnet_tool build job that produces
these packages.
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent c289984 commit 3abada6
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
875 | 879 | | |
876 | | - | |
877 | | - | |
| 880 | + | |
| 881 | + | |
878 | 882 | | |
879 | 883 | | |
880 | 884 | | |
| |||
0 commit comments