Skip to content

Commit 63a39a3

Browse files
committed
Fix NuGet package push on Windows
1 parent d2011e8 commit 63a39a3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,11 @@ jobs:
127127
shell: pwsh
128128
env:
129129
NUGET_API_KEY: ${{ steps.login.outputs.NUGET_API_KEY }}
130-
run: dotnet nuget push 'temp/*.nupkg' --source https://api.nuget.org/v3/index.json --api-key $env:NUGET_API_KEY --skip-duplicate
130+
run: |
131+
Get-ChildItem temp/*.nupkg | ForEach-Object {
132+
dotnet nuget push $_.FullName --source https://api.nuget.org/v3/index.json --api-key $env:NUGET_API_KEY --skip-duplicate
133+
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
134+
}
131135
- name: Create release notes body
132136
shell: pwsh
133137
run: |

‎RELEASE_NOTES.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#### Unreleased
22

33
#### 11.0.0-alpha001 - 2026-09-12
4+
* Fix NuGet package publication from the Windows release workflow
45
* Automate GitHub and NuGet releases from RELEASE_NOTES.md using NuGet trusted publishing - https://github.com/fsprojects/Paket/pull/4436
56
* Upgrade to .NET 10: SDK 10.0.400 and target frameworks from net9 to net10.0. The `paket` .NET tool now requires the .NET 10 runtime; the merged `paket.exe` still targets net461.
67
* Allow a whole `source` line in paket.dependencies to come from an environment variable (`source %FEED_URL%`) - https://github.com/fsprojects/Paket/pull/4374

0 commit comments

Comments
 (0)