Skip to content

Merge pull request #10 from congqixia/enhance/add_test_lint_workflow #4

Merge pull request #10 from congqixia/enhance/add_test_lint_workflow

Merge pull request #10 from congqixia/enhance/add_test_lint_workflow #4

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