Add restriction to py 3.8 and 3.9 #21
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 | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: "Publish release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "actions/setup-python@v5" | |
with: | |
python-version: 3.8 | |
- name: "Install dependencies" | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: pip install hatch | |
- name: "Build package" | |
run: "hatch run build_with_check" | |
- name: "Publish to PyPI" | |
run: "scripts/publish" | |
env: | |
TWINE_USERNAME: __token__ | |
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} | |
- name: "Deploy docs" | |
run: | | |
curl -X POST '${{ secrets.DEPLOY_DOCS }}' |