Skip to content

Commit 6495d97

Browse files
committed
waiting longer for the package to appear
1 parent d14dcc7 commit 6495d97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@ jobs:
9999
if: steps.version_check.outputs.exists != 'true'
100100
id: verify_package
101101
run: |
102-
# Wait for package to be available (try up to 5 times with 10s delay)
102+
# Wait for package to be available (try up to 5 times with 60s delay)
103103
for i in {1..5}; do
104104
if curl -s https://test.pypi.org/pypi/socketsecurity/$VERSION/json | grep -q '"version": "'$VERSION'"'; then
105105
echo "Package ${VERSION} is now available on Test PyPI"
106106
exit 0
107107
fi
108-
echo "Attempt $i: Package not yet available, waiting 10s..."
109-
sleep 10
108+
echo "Attempt $i: Package not yet available, waiting 60s..."
109+
sleep 60
110110
done
111111
echo "Package ${VERSION} not available after 5 attempts"
112112
exit 1

0 commit comments

Comments
 (0)