update release workflow to be based on releases
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

This commit is contained in:
2025-01-12 21:15:46 +01:00
parent a61f197da9
commit be86ebad40

View File

@@ -1,12 +1,12 @@
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
# SPDX-FileCopyrightText: 2024 Max Mehl <https://mehl.mx>
#
# SPDX-License-Identifier: Apache-2.0
name: Python package
name: Publish release on PyPI
on:
push:
tags:
- "v*.*.*"
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest