From 8dde8cd9f32d706932e7b81d776d170035edbe2a Mon Sep 17 00:00:00 2001 From: sdaqo Date: Wed, 11 Dec 2024 15:49:47 +0100 Subject: [PATCH] ci: fix publish stuck on locking pypi now has captcha so checking if the new api version already exists does not work anymore --- .github/workflows/python-publish.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ca25fa33..e7a2e88f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -37,14 +37,7 @@ jobs: - name: Lock cli run: | - while true; do - pypi_page=$(curl --silent -L "https://pypi.org/project/anipy-api") - if grep -q "${GITHUB_REF#refs/*/v}" <<< $pypi_page; then - break - fi - sleep 2 - done - + sleep 20 poetry -C cli/ lock - name: Build and publish cli to pypi