Skip to content

Commit

Permalink
Delay further steps / jobs until kframework is available on PyPi (#4490)
Browse files Browse the repository at this point in the history
Delay further steps until The release is available on PyPI

Co-authored-by: rv-jenkins <[email protected]>
  • Loading branch information
F-WRunTime and rv-jenkins authored Jun 28, 2024
1 parent 7b8e754 commit 25bbf54
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,16 @@ jobs:
packages-dir: pyk/dist
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Wait for PyPi to publish Pyk
run: |
while true; do
VERSION=$(cat package/version)
if curl --fail --silent --location --head "https://pypi.org/project/kframework/$VERSION"; then
break
fi
sleep 10
done
notify-dependents:
name: 'Notify Dependents'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 25bbf54

Please sign in to comment.