From 2f4ebdf0e5fe914510f550fb6d0e1be9a89c66a9 Mon Sep 17 00:00:00 2001 From: Naveen Singh <36371707+naveensingh@users.noreply.github.com> Date: Wed, 31 Dec 2025 23:16:53 +0530 Subject: [PATCH 1/2] ci: bypass cache during Jitpack polling --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5eb3f63dc..10b88ef7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: - name: Trigger JitPack build run: | TAG='${{ needs.release.outputs.tag }}' - echo "Requesting JitPack build for v${TAG}" + echo "Requesting JitPack build for ${TAG}" curl -fsSL --max-time 10 "https://jitpack.io/org/fossify/commons/${TAG}/commons-${TAG}.pom" || true - name: Wait for JitPack to finish @@ -57,19 +57,19 @@ jobs: TAG='${{ needs.release.outputs.tag }}' URL="https://jitpack.io/org/fossify/commons/${TAG}/commons-${TAG}.pom" - echo "Waiting for JitPack to build v${TAG}..." + echo "Waiting for JitPack to build ${TAG}..." sleep 120 - for i in $(seq 1 30); do - echo "Attempt $i: checking ${URL}" - if curl -fsSIL --max-time 10 "${URL}" > /dev/null 2>&1; then + for i in $(seq 1 13); do + echo "Attempt $i: checking ${URL}?check=${i}" + if curl -fsSIL --max-time 10 "${URL}?check=${i}" > /dev/null 2>&1; then echo "JitPack build successful!" exit 0 fi - sleep 30 + sleep 60 done - echo "Timed out waiting for JitPack build after 15 minutes." + echo "Timed out waiting for JitPack build." exit 1 dispatch_update: From 3eb64f74ff387803c9fbe3e2842f9f217a53014f Mon Sep 17 00:00:00 2001 From: Naveen Singh <36371707+naveensingh@users.noreply.github.com> Date: Wed, 31 Dec 2025 23:25:25 +0530 Subject: [PATCH 2/2] ci: bump initial wait time --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10b88ef7d..94478299a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,7 +58,7 @@ jobs: URL="https://jitpack.io/org/fossify/commons/${TAG}/commons-${TAG}.pom" echo "Waiting for JitPack to build ${TAG}..." - sleep 120 + sleep 240 for i in $(seq 1 13); do echo "Attempt $i: checking ${URL}?check=${i}" if curl -fsSIL --max-time 10 "${URL}?check=${i}" > /dev/null 2>&1; then