Skip to content

fix: reject missing tool field, escape newlines in quoted strings (co… #9

fix: reject missing tool field, escape newlines in quoted strings (co…

fix: reject missing tool field, escape newlines in quoted strings (co… #9

Workflow file for this run

name: Publish
on:
push:
tags: ['v*']
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install build twine
- run: pip install -e . && pip install pytest && pytest tests/ -v
- run: python -m build
- run: twine upload --verbose dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}