Skip to content

Commit efaa311

Browse files
Update .github/workflows/release-pypi.yml
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 2c1f4cf commit efaa311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
publish-to-pypi:
3333
name: >-
3434
Publish Python distribution to PyPI
35-
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
35+
if: github.ref_type == 'tag' # only publish to PyPI on tag pushes
3636
needs:
3737
- build
3838
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)