Skip to content

add management for custom kafka configuration #43

add management for custom kafka configuration

add management for custom kafka configuration #43

name: Build Python cli
on:
push:
branches: [main]
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python "3.9"
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
cd cli
python -m pip install --upgrade pip
pip install build twine
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build
run: |
cd cli
python -m build .
- name: Upload on TestPyPi
run: |
cd cli
twine upload -u ${{ secrets.TWINE_USERNAME }} -p ${{ secrets.TWINE_PASSWORD }} --verbose --skip-existing -r testpypi dist/*