Skip to content

v0.1.6: Support for Python 3.12 #11

v0.1.6: Support for Python 3.12

v0.1.6: Support for Python 3.12 #11

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python 3.x
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install hatch build
- name: Build a binary wheel and a source tarball
run: |
hatch version "${GITHUB_REF_NAME}"
python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}