Skip to content

Build PyPi

Build PyPi #4

Workflow file for this run

name: Build PyPi
# Only trigger, when the build workflow succeeded
on:
workflow_run:
workflows: ["CI"]
types:
- completed
jobs:
pypi:
concurrency: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 -m pip install --upgrade build && python3 -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}