Skip to content

Become 0.40.0

Become 0.40.0 #32

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
jobs:
Publish:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install -U build twine
- run: python -m build .
- run: twine upload --verbose dist/*
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}