Skip to content

Version updated from v0.4.1 to v0.5.0 #6

Version updated from v0.4.1 to v0.5.0

Version updated from v0.4.1 to v0.5.0 #6

Workflow file for this run

name: Release PyPI
on:
push:
tags: "v*"
jobs:
release_pypi:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build setuptools twine wheel
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
twine upload dist/*