Commit 5776829
ci: fix NuGet push arguments and stop rebuilding in the publish job
dotnet nuget push is not an MSBuild command and has no --verbosity
option - DotNet.exec's Verbosity setting appended one and the first
9.0.0 publish attempt died on argument parsing before any upload.
Drop it, add --skip-duplicate so re-runs of a failed release are
idempotent, and report the exit code on failure (stderr was empty).
The publish job also re-ran the entire FAKE chain (restore, build,
121 tests x 3 TFMs, pack). It now downloads the nupkg the build job
already produced and tested in the same run and only pushes it
(--single-target skips the dependency chain), so we ship the exact
verified bits.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a89c0e2 commit 5776829
2 files changed
Lines changed: 18 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
114 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
115 | 121 | | |
116 | 122 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
123 | 122 | | |
124 | 123 | | |
125 | | - | |
| 124 | + | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| |||
0 commit comments