Skip to content

chore: Allow to use X | Y syntax for older Python versions #8

chore: Allow to use X | Y syntax for older Python versions

chore: Allow to use X | Y syntax for older Python versions #8

Workflow file for this run

name: publish
on:
push:
tags: ["*"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
pip install hatch-vcs
pip install hatch-fancy-pypi-readme
- name: Build and publish
env:
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
run: |
hatch build
hatch publish