Skip to content

Commit 167b29d

Browse files
committed
Publish package only for tags
1 parent 0075bac commit 167b29d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: Test package
4242
run: pip install --no-cache-dir dist/ops*.tar.gz && ops --verbose -h
4343
- name: Publish package
44+
if: startsWith(github.ref, 'refs/tags/')
4445
uses: pypa/gh-action-pypi-publish@ab69e431e9c9f48a3310be0a56527c679f56e04d
4546
with:
4647
user: __token__

0 commit comments

Comments
 (0)