Skip to content

0.12.1

0.12.1 #4

Workflow file for this run

name: Publish to PyPI
on:
release:
types:
- published
permissions:
contents: read
env:
PYTHON_VERSION: 3.11
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install hatch
run: |
python -m pip install hatch
- name: Build package
run: hatch build
- name: Publish
run: hatch publish -y
env:
HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }}
HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }}