name: Build and deploy with poetry on: release: types: [published] jobs: build_and_publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build and publish to PyPI uses: JRubics/poetry-publish@v1.17 with: repository_name: "test-pypi" repository_url: "https://test.pypi.org/legacy/" pypi_token: ${{ secrets.PYPI_TOKEN }} ignore_dev_requirements: "yes"