Skip to content

Fix publish workflow #4

Fix publish workflow

Fix publish workflow #4

Workflow file for this run

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