Skip to content

TheengsGateway v1.4.0 #15

TheengsGateway v1.4.0

TheengsGateway v1.4.0 #15

Workflow file for this run

name: Publish distributions to PyPI and documentation to GH pages
on:
release:
types: [published]
jobs:
build-n-publish:
name: Build and publish distributions to PyPI
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with: {fetch-depth: 0} # deep clone for setuptools-scm
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install pypa/build
run: |
python3 -m pip install --upgrade pip
pip3 install setuptools setuptools_scm cmake wheel scikit-build ninja
- name: Build a source tarball
run: |
python3 setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}