Skip to content

v1.1.0

v1.1.0 #22

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch: # run on request (no need for PR)
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build the python package
run: |
python -m build
- name: Upload to PyPI
run: twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}