Upload to PyPI #1
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: Upload to PyPI | |
on: | |
release: | |
types: [published] | |
env: | |
FORCE_COLOR: "1" | |
jobs: | |
deployment: | |
environment: publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10 | |
cache: 'pip' | |
- name: Install Hatch | |
run: pip install --upgrade hatch | |
- name: Publish | |
run: hatch publish |