bump version 0.5.2 (#53) #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish pypi package | |
on: | |
push: | |
tags: | |
- 'v?[0-9]+.[0-9]+**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install poetry | |
run: python -m pip install --upgrade pip poetry | |
- name: Install packages | |
run: poetry install | |
- name: Build packages | |
run: poetry build | |
- name: Publish to pypi | |
env: | |
POETRY_PYPI_TOKEN_PYPI: ${{secrets.PYPI_TOKEN}} | |
run: poetry publish | |
- name: Publish GH release | |
run: gh release create --generate-notes "$GITHUB_REF_NAME" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |