Skip to content

Track D: BYOD daily totals helper + PyPI-friendly docs (v0.22.4) (#323) #17

Track D: BYOD daily totals helper + PyPI-friendly docs (v0.22.4) (#323)

Track D: BYOD daily totals helper + PyPI-friendly docs (v0.22.4) (#323) #17

Workflow file for this run

name: Publish to PyPI (trusted publisher)
on:
push:
tags:
- "v*"
jobs:
build-and-publish:
environment: pypi
runs-on: ubuntu-latest
permissions:
id-token: write # needed for trusted publishing
contents: read
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build backend
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build distributions
run: python -m build
- name: Publish to PyPI via trusted publisher
uses: pypa/gh-action-pypi-publish@release/v1
with:
print-hash: true