Skip to content

Updating workflow file #60

Updating workflow file

Updating workflow file #60

Workflow file for this run

name: Publish Python extract sdk distribution to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install -r requirements.txt
- name: Build a binary wheel and a source tarball
run: |
pip install wheel
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.ADOBE_BOT_PYPI_TOKEN}}