Skip to content

Merge pull request #32 from adobe/2.3.1 #61

Merge pull request #32 from adobe/2.3.1

Merge pull request #32 from adobe/2.3.1 #61

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.8
- 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}}