Skip to content

Release 0.1.0-dev0

Release 0.1.0-dev0 #1

Workflow file for this run

# This workflow will upload a Python Package using hatch when a release is created
name: Publish Python Package
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+*
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12'
- name: Insatll dependencies and build package
run: |
pip install --upgrade pip build twine
python -m build
- name: Publish package
env:
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_API_TOKEN }}
HATCH_INDEX_USER: __token__
run: |
python -m twine upload --repository testpypi dist/*