Skip to content

typo: Fix package email metadata #12

typo: Fix package email metadata

typo: Fix package email metadata #12

Workflow file for this run

on:
push:
tags: [ 'v?*.*.*' ]
name: release
jobs:
release-build:
name: Build release artifacts
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- run: git fetch origin develop
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v2
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Install the project
run: uv sync --all-extras --dev
- name: Test
run: |
uv run pytest
- name: Build
run: |
uv build
- name: Upload dists
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/
pypi-publish:
# by a dedicated job to publish we avoid the risk of
# running code with access to PyPI credentials
name: Upload release to PyPI
runs-on: ubuntu-latest
needs:
- release-build
environment: release
permissions:
id-token: write
steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1