Skip to content

docs: Code typos corrected #55

docs: Code typos corrected

docs: Code typos corrected #55

Workflow file for this run

---
name: publish
# Actions for any tag.
# -----------------
# Control variables (GitHub Secrets)
# -----------------
#
# At the GitHub 'organisation' or 'project' level you must have the following
# GitHub 'Repository Secrets' defined (i.e. via 'Settings -> Secrets'): -
#
# PYPI_USERNAME
# PYPI_TOKEN
#
# -----------
# Environment (GitHub Environments)
# -----------
#
# Environment (none)
on:
push:
tags:
- '**'
env:
POETRY_VERSION: '1.8.5'
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --no-cache-dir poetry==$POETRY_VERSION
poetry install --with dev --no-root --no-directory
- name: Build
run: |
poetry version $GITHUB_REF_SLUG
poetry build --format wheel
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1