Skip to content

Commit b7c033f

Browse files
committed
Fix condition
1 parent 9c40927 commit b7c033f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
run: |
4444
tox -e build
4545
- name: Publish package (TestPyPI)
46-
if: github.event_name != "release" && github.event_name == "push" && startsWith(github.ref, "refs/tags")
46+
if: github.event_name == 'push'
4747
uses: pypa/gh-action-pypi-publish@release/v1
4848
with:
4949
repository-url: https://test.pypi.org/legacy/
5050
- name: Publish package
51-
if: github.event_name == "release"
51+
if: github.event_name == 'release'
5252
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)