Commit c4be6b2
authored
release: run nuget publish job on windows (#2333)
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.
There will be a small performance hit in the build pipeline since
Windows agents take longer to provision (but better than this job
failing as it does now).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