Skip to content

v1.1.3

v1.1.3 #9

Workflow file for this run

name: publish
on:
release:
types:
- created
workflow_dispatch:
defaults:
run:
working-directory: python
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python "3.12"
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
- name: Install
run: |
pip install .
- name: Build a binary wheel and a source tarball
run: |
pip install build
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: python/dist/