Skip to content

5.0.0

5.0.0 #92

name: Publish Package
on:
release:
types: [published]
jobs:
publish-package:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Prepare environment 🌎
run: |
# Upgrade pip
python3 -m pip install --upgrade pip
# Install the requirements
python3 -m pip install -r requirements.txt
- name: Run PyLint 🔧
run: |
# Run PyLint
python3 -m pylint client/src/dolbyio_rest_apis
- name: Build the packages 🔧
run: |
# Build the Python packages
python3 client/setup.py sdist bdist_wheel
- name: Deploy to PyPI 🚀
uses: ./.github/actions/gh-action-pypi-publish-1.8.6
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}