From 62608db9b70b69aa7a7b9f9390511ebb3d159328 Mon Sep 17 00:00:00 2001 From: axunonb Date: Fri, 6 Mar 2026 15:30:23 +0100 Subject: [PATCH] Use Cmd as the shell for GitHub Uploads --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd54eca..799d2ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,5 +138,8 @@ jobs: - name: Publish to NuGet if: github.ref == 'refs/heads/main' && github.event_name == 'push' - working-directory: ${{ github.workspace }} - run: dotnet nuget push "artifacts/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + shell: pwsh + run: | + Get-ChildItem "${{ github.workspace }}\artifacts\*.nupkg" | ForEach-Object { + dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + } \ No newline at end of file