Skip to content

BRAYNS-600 Release 3.5.1. (#1224) #14

BRAYNS-600 Release 3.5.1. (#1224)

BRAYNS-600 Release 3.5.1. (#1224) #14

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/