Skip to content

Fix publish workflow (#37) #3

Fix publish workflow (#37)

Fix publish workflow (#37) #3

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Build and Publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --build