Skip to content

TheengsDecoder v1.8.2 #31

TheengsDecoder v1.8.2

TheengsDecoder v1.8.2 #31

Workflow file for this run

name: Publish to Pypi
on:
workflow_dispatch:
release:
types: [published]
jobs:
build-n-publish:
name: Build and publish distributions to PyPI
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0 # deep clone for setuptools-scm
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- 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: |
cd python
cp -r ../src .
python3 setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: python/dist/