Skip to content

fix compatibility with pydantic 2.10 (#236) #46

fix compatibility with pydantic 2.10 (#236)

fix compatibility with pydantic 2.10 (#236) #46

Workflow file for this run

---
name: Publish
on:
push:
tags:
- '[0-9]*'
jobs:
publish:
name: "Publish release"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v5"
- name: Install build dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pip install hatch
- name: "Build package"
run: "hatch build"
- name: "Publish to PyPI"
run: "hatch publish -n"
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
- name: "Deploy docs"
run: |
curl -X POST '${{ secrets.DEPLOY_DOCS }}'