Skip to content

Release 1 7 0 (#220) #58

Release 1 7 0 (#220)

Release 1 7 0 (#220) #58

Workflow file for this run

---
name: "PyPI Release"
# yamllint disable-line rule:truthy
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
publish:
name: PyPI Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Upgrade Setuptools
run: pip install --upgrade setuptools wheel
- name: Build Distribution
run: python setup.py sdist bdist_wheel --universal
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}