Skip to content

chores: version bump #5

chores: version bump

chores: version bump #5

Workflow file for this run

name: Release new Version
on:
push:
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
# Python Package
- name: Install dependencies
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
run: |
python -m pip install --upgrade pip
pip install setuptools wheel -q
python setup.py sdist
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}