Skip to content

v1.8.0dev0

v1.8.0dev0 #30

Workflow file for this run

name: Publish rich-click to PyPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out source-code repository
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install python dependencies
run: python -m pip install --upgrade pip setuptools wheel build
- name: Build the distribution
run: python -m build
- name: Publish to PyPI
if: github.repository == 'ewels/rich-click'
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}