Skip to content

deploy to PyPI

deploy to PyPI #4

Workflow file for this run

name: Deploy to PyPI
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout...
uses: actions/checkout@v4
- name: Set up Python...
uses: actions/setup-python@v5
- name: Install build dependencies...
run: pip install build twine
- name: Build...
run: |
mvn clean verify -U
python -m build
- name: Upload to PyPI...
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: twine upload -r testpypi --disable-progress-bar --verbose dist/*