chore: Only run release on main branch and version tag pushes
This commit is contained in:
parent
a263e3ddb0
commit
f9e4b05432
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue