Skip to content

v0.6.1 - Version bump for bugfix #19

v0.6.1 - Version bump for bugfix

v0.6.1 - Version bump for bugfix #19

Workflow file for this run

name: Publish distributions to PYPI and TestPYPI
on:
push:
branches:
- main
jobs:
build-publish:
name: Build and publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: Install and build
run: python -m pip install build --user
- name: Build a binary and source tarball
run: python -m build --sdist --wheel --outdir dist/
- name: Publish to Test PYPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish to PYPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}