Skip to content

2024.12.11.1

2024.12.11.1 #1

Workflow file for this run

name: upload release to PyPI
on:
release:
types:
- published
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
contents: write
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/[email protected]
with:
python-version: 3.12
- name: Install build
run: |
pip install poetry
poetry self add poetry-dynamic-versioning[plugin]
poetry install --sync
poetry build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1