Skip to content

Upload Python Package #23

Upload Python Package

Upload Python Package #23

Workflow file for this run

name: Upload Python Package
on:
workflow_dispatch:
jobs:
build-n-publish:
name: Build and publish Audible-cli to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install setuptools and wheel
run: pip install --upgrade pip setuptools wheel
- name: Build a binary wheel and a source tarball
run: python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}