From a8e85c55a62a4e85fd394ffbd71ffe4a5350acfa Mon Sep 17 00:00:00 2001 From: Simon Ensslen Date: Tue, 27 Feb 2024 08:01:44 +0100 Subject: [PATCH] fix nuget upload --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86fb1e24..d7c72489 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,4 +85,9 @@ jobs: id: publish_nuget shell: pwsh run: | - Get-ChildItem -Path ${{ steps.artifacts_path.outputs.path }} -Include *.nupkg | Select-Object -ExpandProperty FullName | foreach { dotnet nuget push "$_" -s 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGET_KEY }} --skip-duplicate } + $files = Get-ChildItem -Path ${{ steps.artifacts_path.outputs.path }}/* -Include *.nupkg -Recurse + foreach ($f in $files){ + $fullPath = $F.FullName + echo "sending $fullPath" + dotnet nuget push "$fullPath" -s 'https://api.nuget.org/v3/index.json' -k ${{ secrets.NUGET_KEY }} --skip-duplicate + }