19 lines
387 B
YAML
19 lines
387 B
YAML
# SPDX-FileCopyrightText: 2025 DB Systel GmbH
|
|
#
|
|
# 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: JRubics/poetry-publish@v2.1
|
|
with:
|
|
pypi_token: ${{ secrets.PYPI_TOKEN }}
|