chore: Only run release on main branch and version tag pushes

This commit is contained in:
Marty Oehme 2025-04-09 11:41:36 +02:00
parent a263e3ddb0
commit f9e4b05432
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -1,5 +1,11 @@
name: Publish python package to pypi and testpypi
on: push
on:
push:
branches:
- main
tags:
- v*
jobs:
build:
name: Build distribution