Skip to content

Fixed toml support for Python <3.11 #50

Fixed toml support for Python <3.11

Fixed toml support for Python <3.11 #50

Workflow file for this run

name: Publish

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

`tag` is not a valid event name
on:
tag:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flit mkdocs-material
- name: Publish
run: |
flit publish
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }}
- name: Build documentation
run: mkdocs build
- name: Publish documentation
run: mkdocs gh-deploy --force