Skip to content

Commit

Permalink
Set a wait step at the end of pYk publish to check for the released v…
Browse files Browse the repository at this point in the history
…ersion of kframework to resolve. And then move on.
  • Loading branch information
F-WRunTime committed Jun 27, 2024
1 parent 4a6efd9 commit 3cb9208
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,16 @@ jobs:
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 3cb9208

Please sign in to comment.