Skip to content

Merge pull request #50 from oglez/master #29

Merge pull request #50 from oglez/master

Merge pull request #50 from oglez/master #29

Workflow file for this run

name: CD
on:
workflow_dispatch:
push:
branches:
- master
release:
types:
- published
jobs:
dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: hynek/build-and-inspect-python-package@v1
publish:
needs: [dist]
environment: pypi
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