From 1f19f4431ecee4a7c05e32e179b44cd658e9ac7b Mon Sep 17 00:00:00 2001 From: Shike Chen Date: Mon, 15 Jun 2026 18:15:33 -0700 Subject: [PATCH] fix lock step --- .github/workflows/publish-pwsh-module.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-pwsh-module.yml b/.github/workflows/publish-pwsh-module.yml index b7e4850..c1f422b 100644 --- a/.github/workflows/publish-pwsh-module.yml +++ b/.github/workflows/publish-pwsh-module.yml @@ -1006,7 +1006,7 @@ jobs: EOF dotnet add package JwtDecoder.JwksFetcher --version "$version" # Up to a minute of nuget.org indexing slack; retry a few times. - for i in 1 2 3 4 5; do + for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do if dotnet restore --packages "$cache" --verbosity quiet; then echo "OK: JwtDecoder.JwksFetcher $version + transitive Core resolve from nuget.org on attempt $i." popd >/dev/null @@ -1014,7 +1014,7 @@ jobs: exit 0 fi echo "Attempt $i failed; sleeping 15s..." - sleep 15 + sleep 60 done echo "::error::Lock-step release verification failed: JwtDecoder.JwksFetcher $version does not resolve from nuget.org after 5 attempts." exit 1