Skip to content

Refactor CI

Refactor CI #13

Workflow file for this run

name: Publish package
on:
push:
pull_request:
jobs:
publish_package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish package to pypi
uses: JRubics/poetry-publish@v1.16
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}
plugins: "poetry-dynamic-versioning[plugin]"