Skip to content

docs: add FUNDING.yml and sponsor badge; consolidate disclaimer #9

docs: add FUNDING.yml and sponsor badge; consolidate disclaimer

docs: add FUNDING.yml and sponsor badge; consolidate disclaimer #9

Workflow file for this run

name: CD
concurrency:
group: release-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: read
packages: write
jobs:
publish:
name: Build and publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build distributions
run: python -m build
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m twine upload dist/* --non-interactive