Skip to content

Commit

Permalink
Improve publish workflow (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg authored Sep 9, 2024
2 parents 2afd937 + 035e1b7 commit dcfab18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:

jobs:
Bump:
name: Bump version number
uses: AstarVienna/DevOps/.github/workflows/bump.yml@main
secrets: inherit
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_TOKEN }}
run: poetry publish >> $GITHUB_STEP_SUMMARY

- name: Add to step summary
if: ${{ success() }}
run: |
echo "### Successfully published package on PyPI" >> $GITHUB_STEP_SUMMARY
PKGVER=$(poetry version)
SUBURL="${PKGVER// //}"
echo "https://pypi.org/project/$SUBURL/" >> $GITHUB_STEP_SUMMARY
Bump:
name: Bump to (next) dev version
needs: publish
Expand Down

0 comments on commit dcfab18

Please sign in to comment.