Skip to content

Merge pull request #122 from Byte-Barn/feat/async #16

Merge pull request #122 from Byte-Barn/feat/async

Merge pull request #122 from Byte-Barn/feat/async #16

Workflow file for this run

name: Publish Python Package
on:
push:
tags:
- "v*" # publish only on version tags like v0.1.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Hatch
run: pip install hatch
- name: Build package
run: hatch build
- name: Publish to PyPI
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
run: hatch publish