Skip to content

v1.5.1a1

v1.5.1a1 #64

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/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}