Skip to content

v0.0.4 - Release Binaries via PyPi Latest #4

v0.0.4 - Release Binaries via PyPi Latest

v0.0.4 - Release Binaries via PyPi Latest #4

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
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.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch hatchling
- name: Build package
run: hatch build
- name: Publish package
run: |
hatch publish -u "__token__" -a ${{ secrets.PYPI_API_TOKEN }}