Skip to content

v1.8.0

v1.8.0 #9

Workflow file for this run

name: Publish to PyPI
on:
release:
types: [published]
jobs:
pypi_release:
name: Build with Poetry and Publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-python@v5

Check failure on line 13 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Publish to PyPI

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 13, Col: 9): 'uses' is already defined
- name: Install and configure Poetry
run: |
pip install poetry
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
- name: Publish package
run: poetry publish --build