Skip to content

Bump cmd2 from 2.5.7 to 2.5.8 #314

Bump cmd2 from 2.5.7 to 2.5.8

Bump cmd2 from 2.5.7 to 2.5.8 #314

name: Publish to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: release
url: https://pypi.org/p/showtime-cli
steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install tox
run: python -m pip install tox
- name: Run tests
run: tox
- name: Install pep517
run: >-
python -m
pip install
pep517
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
pep517.build
--source
--binary
--out-dir dist/
.
- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e