Skip to content

Release 1.0

Release 1.0 #6

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install build dependencies
run: python -m pip install setuptools wheel
- name: Build wheel
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}