Skip to content

Commit 1f19f44

Browse files
committed
fix lock step
1 parent a5f892d commit 1f19f44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-pwsh-module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,15 +1006,15 @@ jobs:
10061006
EOF
10071007
dotnet add package JwtDecoder.JwksFetcher --version "$version"
10081008
# Up to a minute of nuget.org indexing slack; retry a few times.
1009-
for i in 1 2 3 4 5; do
1009+
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
10101010
if dotnet restore --packages "$cache" --verbosity quiet; then
10111011
echo "OK: JwtDecoder.JwksFetcher $version + transitive Core resolve from nuget.org on attempt $i."
10121012
popd >/dev/null
10131013
rm -rf "$work" "$cache"
10141014
exit 0
10151015
fi
10161016
echo "Attempt $i failed; sleeping 15s..."
1017-
sleep 15
1017+
sleep 60
10181018
done
10191019
echo "::error::Lock-step release verification failed: JwtDecoder.JwksFetcher $version does not resolve from nuget.org after 5 attempts."
10201020
exit 1

0 commit comments

Comments
 (0)