All checks were successful
Python Linters / pylint (pull_request) Successful in 45s
Python Linters / formatting (pull_request) Successful in 37s
Python Linters / mypy (pull_request) Successful in 38s
REUSE Compliance / reuse (pull_request) Successful in 9s
Selftests / test-build-install (pull_request) Successful in 40s
Selftests / test-sync (pull_request) Successful in 1m2s
19 lines
418 B
YAML
19 lines
418 B
YAML
# SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
|
|
#
|
|
# 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 }}
|