Skip to content

Publish

Publish #5

Workflow file for this run

name: Publish
on:
workflow_dispatch:
jobs:
pypipublish:
name: Publish bluechi on PyPi
runs-on: ubuntu-latest
container:
image: quay.io/bluechi/build-base:latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install dependencies
run: |
python3 -m ensurepip --default-pip
python3 -m pip install --upgrade pip setuptools wheel build
python3 -m pip install -r src/bindings/generator/requirements.txt
- name: Build python bindings package
run: |
bash build-scripts/build-bindings.sh python
- name: Publish bluechi to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages-dir: src/bindings/python/dist/