Skip to content

chore: test pypi

chore: test pypi #19

Workflow file for this run

name: Upload Python Package
on:
pull_request:
branches: ['master', 'main']
jobs:
deploy:
name: Publish PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Build package
run: |
python -m pip install -U pip build setuptools twine
- name: Publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload --repository testpypi --skip-existing dist/*