Skip to content

Commit

Permalink
ci: fix publish stuck on locking
Browse files Browse the repository at this point in the history
pypi now has captcha so checking if the new api version already exists does not work anymore
  • Loading branch information
sdaqo authored Dec 11, 2024
1 parent ac8a8c2 commit 8dde8cd
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8dde8cd

Please sign in to comment.