Skip to content

v3.5.1 Release

v3.5.1 Release #24

Workflow file for this run

name: Release Distributables
on:
release:
types:
- published
jobs:
build-n-upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- run: pip install wheel
- name: Build new distributables
run: python setup.py sdist bdist_wheel
- name: Upload distributables to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Post release cleaning
run: |
python setup.py clean --all
rm dist/*