Skip to content

v2.3.2

v2.3.2 #42

Workflow file for this run

name: Publish
on:
release:
types: [published]
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'release' && startsWith(github.event.release.tag_name, 'v')
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Upgrade setuptools
run: pip install --upgrade setuptools wheel
- name: Build distribution
run: python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}