Skip to content

Bump the actions group in /.github/workflows with 2 updates #45

Bump the actions group in /.github/workflows with 2 updates

Bump the actions group in /.github/workflows with 2 updates #45

Workflow file for this run

name: CD
on:
push:
tags: v*
pull_request:
paths:
- .github/workflows/cd.yml
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install build dependencies
run: python -m pip install build wheel
- name: Build distributions
shell: bash -l {0}
run: python -m build
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}