Skip to content

🔖 v0.22.2

🔖 v0.22.2 #45

Workflow file for this run

name: publish
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
permissions:
contents: write
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- name: Install hatch
run: pip install hatch
- name: Build & publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
hatch build
hatch publish -u __token__ -a $PYPI_TOKEN