Skip to content

Update version to 1.2.2 #4

Update version to 1.2.2

Update version to 1.2.2 #4

Workflow file for this run

name: Publish Python Package to PyPI
on:
push:
tags:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and check the package
run: |
python setup.py sdist bdist_wheel
twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.PYPI_API_TOKEN }}