Skip to content

v1.7.0

v1.7.0 #26

Workflow file for this run

name: Publish PyPI Package
on:
release:
types: [ created ]
jobs:
publish-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry
pipx install poetry-dynamic-versioning
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: 'poetry'
- name: Install dependencies
run: poetry install
- name: Build and publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry publish --build -u "__token__" -p $PYPI_TOKEN