Skip to content

2025.9.2a2

2025.9.2a2 #13

Workflow file for this run

name: Build distribution
on:
release:
types: [created]
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
test:
uses: ./.github/workflows/test.yml
lint:
uses: ./.github/workflows/lint.yml
deploy:
needs: [test, lint]
name: Deploy to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- run: uv build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist