Skip to content

v4.1.8

v4.1.8 #34

Workflow file for this run

name: Deploy to PyPI
on:
workflow_dispatch:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
- uses: actions/checkout@v3
# - name: Install poetry
# run: |
# pipx install poetry
# pipx inject poetry .
- name: Install poetry
run: |
pipx install poetry
pipx inject poetry poetry-bumpversion
- name: Build
run: |
poetry version ${{ github.ref_name }}
poetry build
- name: Publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish
# NOTE: Make sure you have added PYPI_API_TOKEN repository secret