Skip to content

BRAYNS-647 Release 3.8.2. (#1269) #21

BRAYNS-647 Release 3.8.2. (#1269)

BRAYNS-647 Release 3.8.2. (#1269) #21

name: Publish python client to PyPi
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build-n-publish:
name: Build and publish on PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Build a source tarball
run: |
cd python
python setup.py sdist
- name: Publish distribution package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: python/dist/