Skip to content

2023.08.23

2023.08.23 #8

Workflow file for this run

name: CD
on:
workflow_dispatch:
release:
types:
- published
jobs:
dist:
name: Distribution build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v1
publish:
name: Publish
needs: [dist]
environment:
name: pypi
url: https://pypi.org/p/sp-repo-review
permissions:
id-token: write
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
with:
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1