Skip to content

Commit f2ac856

Browse files
committed
temporarily adjusting publish.yml to publish specific tag
1 parent 30f1742 commit f2ac856

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/pypipublish.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: Publish Python
22

3+
# on:
4+
# release:
5+
# types: [published]
6+
37
on:
4-
release:
5-
types: [published]
8+
push:
9+
tags:
10+
- 'v*' # Only triggers on tags starting with 'v', like 'v1.0.0'
611

712
jobs:
813
tests:
@@ -34,11 +39,11 @@ jobs:
3439
--wheel
3540
--outdir dist/
3641
.
37-
- name: Publish distribution 📦 to Test PyPI
38-
uses: pypa/gh-action-pypi-publish@release/v1
39-
with:
40-
password: ${{ secrets.PYPI_TEST_KEY }}
41-
repository_url: https://test.pypi.org/legacy/
42+
# - name: Publish distribution 📦 to Test PyPI
43+
# uses: pypa/gh-action-pypi-publish@release/v1
44+
# with:
45+
# password: ${{ secrets.PYPI_TEST_KEY }}
46+
# repository_url: https://test.pypi.org/legacy/
4247
- name: Publish distribution 📦 to PyPI
4348
uses: pypa/gh-action-pypi-publish@release/v1
4449
with:

0 commit comments

Comments
 (0)