Skip to content

chore: cleanup

chore: cleanup #49

Workflow file for this run

name: Upload Python Package
on:
workflow_dispatch:
push:
tags:
- "*"
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.x"]
poetry: ["1.5.1"]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==${{ matrix.poetry }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "poetry"
- name: Install dependencies
run: |
poetry install
- name: Build and publish
run: |
poetry build -n
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish