Only publish from main

This commit is contained in:
Mike Almeloo
2024-02-10 19:41:59 +01:00
committed by GitHub
parent 5c040f6aa1
commit 420cfe15d2

View File

@@ -1,14 +1,16 @@
name: Upload Python Package
on:
workflow_dispatch:
push:
tags:
- '*'
- 'v[0-9]\.[0-9]+\.[0-9]+'
jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4