Skip to content

v1.6.0

v1.6.0 #66

Workflow file for this run

name: Publish on PyPi
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+*'
jobs:
run_tests:
uses: ./.github/workflows/run-tests.yml
publish:
needs: run_tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '>=3.10'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish
uses: pypa/gh-action-pypi-publish@v1.5.0
with:
password: ${{ secrets.PYPI_API_TOKEN }}