Skip to content

Update config-local properties and community #99

Update config-local properties and community

Update config-local properties and community #99

Workflow file for this run

name: PyPi Conductor-client update
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `vfrinx2.0.1` tags as releases.
tags:
- vfrinx2*
workflow_dispatch:
jobs:
build-n-publish-v2:
name: Build and publish frinx conductor client
runs-on: ubuntu-18.04
timeout-minutes: 10
defaults:
run:
working-directory: ./polyglot-clients/python
steps:
- uses: actions/checkout@v2
- name: Check package version
run: |
grep -q "version = '2." setup.py
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: '3.6'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*