From 67f1323823528bf72109695bd82df34cfe161e5b Mon Sep 17 00:00:00 2001 From: Doug Gerard Date: Mon, 13 Apr 2026 21:08:44 -0600 Subject: [PATCH] Fix NuGet push glob expansion on Windows PowerShell does not expand *.nupkg globs in command arguments. Use bash shell for the push step so the glob resolves correctly. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/build-and-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 151497b..eb0fdb5 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -45,4 +45,5 @@ jobs: - name: Push to NuGet if: startsWith(github.ref, 'refs/tags/v') + shell: bash run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.CodeStructureNuGetKey }} --source https://api.nuget.org/v3/index.json --skip-duplicate