Skip to content

Commit 06f180c

Browse files
authored
ci: bump curl timeout for jitpack (#310)
1 parent acfd352 commit 06f180c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
TAG='${{ needs.release.outputs.tag }}'
5252
echo "Requesting JitPack build for ${TAG}"
53-
curl -fsSL --max-time 10 "https://jitpack.io/org/fossify/commons/${TAG}/commons-${TAG}.pom" || true
53+
curl -fsSL --max-time 180 "https://jitpack.io/org/fossify/commons/${TAG}/commons-${TAG}.pom" || true
5454
5555
- name: Wait for JitPack to finish
5656
run: |
@@ -61,7 +61,7 @@ jobs:
6161
sleep 240
6262
for i in $(seq 1 13); do
6363
echo "Attempt $i: checking ${URL}?check=${i}"
64-
if curl -fsSIL --max-time 10 "${URL}?check=${i}" > /dev/null 2>&1; then
64+
if curl -fsSIL --max-time 300 "${URL}?check=${i}" > /dev/null 2>&1; then
6565
echo "JitPack build successful!"
6666
exit 0
6767
fi

0 commit comments

Comments
 (0)