From dbb44d11a378451e2cde0470f7bf1b80a98f337e Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 2 Sep 2026 20:31:13 +0200 Subject: [PATCH] Fix nuget push retry loop hanging forever on GitHub Packages --no-symbols is a boolean switch in dotnet nuget push and takes no value; the trailing "true" was parsed as a second package-path argument, which doesn't exist ("error: File does not exist (true)."). Every retry in the until loop hit this same parse error, so the step never exited and the job ran until it was cancelled. Co-Authored-By: Claude Co-authored-by: Cursor --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16050c2..a25ca5e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,7 +107,7 @@ jobs: if: github.event_name == 'push' && startswith(github.ref, 'refs/heads') shell: bash run: | - until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols true; do echo "Retrying"; sleep 1; done; + until dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.GITHUB_TOKEN}} --skip-duplicate --no-symbols; do echo "Retrying"; sleep 1; done; # ghcr.io/nullean/release-notes, matching curb's own tagging: "edge" on every push, plus # "latest" and the semver when this push is an exact release tag — see