Skip to content

Custom poetry publish #36

Custom poetry publish

Custom poetry publish #36

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
sudo apt install -y pipx
pipx ensurepath
pipx install poetry
pipx inject poetry poetry-plugin-export
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Build and publish to Python package repository
run: |
poetry build
poetry publish
uses: JRubics/[email protected]