Skip to content

Merge pull request #31 from zc277584121/main #19

Merge pull request #31 from zc277584121/main

Merge pull request #31 from zc277584121/main #19

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
jobs:
release-on-pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Hatch
run: pip install hatch
- name: Build
run: hatch build
- name: Publish on PyPi
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
run: hatch publish -y