Skip to content

v0.12.0

v0.12.0 #4

Workflow file for this run

name: Deploy to PyPI
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
env:
POETRY_VIRTUALENVS_CREATE: "false"
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Build
run: |
poetry version ${{ github.ref_name }}
poetry build
- name: Publish
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry publish