## v1.6.2 - 23 December 2024 #72
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |