Skip to content

Commit 684e766

Browse files
authored
Merge pull request #10 from thombashi/publish_testpypi
Change the TestPyPI publish timing to only when pushing the default branch
2 parents baf6287 + c83b01e commit 684e766

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868

6969
- name: Publish package to TestPyPI
7070
uses: pypa/gh-action-pypi-publish@release/v1
71+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
7172
with:
7273
repository-url: https://test.pypi.org/legacy/
7374
skip-existing: true

0 commit comments

Comments
 (0)