Skip to content

1.2.0-20241205

1.2.0-20241205 #19

Workflow file for this run

name: Upload Python Package to TestPyPI
on:
release:
types: [created]
workflow_dispatch: # Allows manual triggering of the workflow for testing
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine poetry
- name: Build package distributions
run: |
poetry build
- name: Publish to TestPyPI
env:
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
twine upload --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*