Skip to content

v1.6.24

v1.6.24 #14

Workflow file for this run

name: Publish to PyPi
on:
release:
types: [published]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Configure Poetry timeout
run: |
poetry config repositories.pypi.http-basic.timeout 30
- name: Configure Poetry PyPI token
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build and publish
run: |
poetry publish --build