Skip to content

Commit

Permalink
Update pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoVellekoop authored Oct 11, 2024
1 parent ab5c2b1 commit 57b2e37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Publish to TestPyPI using Poetry

on:
push:
branches:
- 'master' # only on the master branch
tags:
- 'v0*' # only when the commit was tagged with a tag starting with v0

jobs:
build:
if: startsWith(github.ref, 'refs/tags/v') # only when the commit was tagged with a tag starting with v
if: github.ref_name == 'master'
runs-on: ubuntu-latest

environment:
Expand Down

0 comments on commit 57b2e37

Please sign in to comment.