Skip to content

release v0.2.5

release v0.2.5 #19

Workflow file for this run

name: pypi
on:
push:
tags:
- '*'
jobs:
build-and-publish:
name: pypi
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Print build files
run: ls -l dist/