chore: Only publish to test pypi on tagged releases
This commit is contained in:
parent
2b37f24790
commit
f546076259
1 changed files with 1 additions and 2 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
|
@ -1,8 +1,6 @@
|
|||
name: Publish release packages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- v*
|
||||
|
||||
|
|
@ -32,6 +30,7 @@ jobs:
|
|||
publish-to-testpypi:
|
||||
name: Test publishing to testpypi
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
needs:
|
||||
- build
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue