diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml deleted file mode 100644 index dfbf814925..0000000000 --- a/.github/workflows/pypi-publish.yml +++ /dev/null @@ -1,42 +0,0 @@ -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/*