Skip to content

Version 2.0.0

Version 2.0.0 #29

Workflow file for this run

name: Upload to PyPI
# Trigger the workflow on every release
on:
release:
types: [prereleased]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install build
- name: Build distribution
run: python3 -m build
- name: Publish to PYPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}