fix: handle ordered lists bbcode #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to PyPI | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Ensure full Git history is available for versioning | |
- name: Set Up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Hatch | |
uses: pypa/hatch@install | |
- name: Run Tests | |
run: | | |
hatch test | |
- name: Build Package | |
run: | | |
hatch build | |
- name: Publish to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |