Skip to content

Publish to PyPi

Publish to PyPi #4

Workflow file for this run

name: Publish to PyPi
on:
workflow_dispatch:
jobs:
upload:
name: Upload Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Build Dependencies
run: python -m pip install build twine
- name: Build
run: python -m build
- name: Publish to PyPI
run: |
python -m twine upload ./dist/* \
--username __token__ \
--password ${{ secrets.PYPI_API_TOKEN }}