# SPDX-FileCopyrightText: 2024 Max Mehl # # SPDX-License-Identifier: Apache-2.0 name: Publish release on PyPI on: release: types: [published] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Build and publish to PyPI uses: https://github.com/JRubics/poetry-publish@v2.0 with: pypi_token: ${{ secrets.PYPI_TOKEN }}