File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish Python
2
2
3
+ # on:
4
+ # release:
5
+ # types: [published]
6
+
3
7
on :
4
- release :
5
- types : [published]
8
+ push :
9
+ tags :
10
+ - ' v*' # Only triggers on tags starting with 'v', like 'v1.0.0'
6
11
7
12
jobs :
8
13
tests :
@@ -34,11 +39,11 @@ jobs:
34
39
--wheel
35
40
--outdir dist/
36
41
.
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/
42
47
- name : Publish distribution 📦 to PyPI
43
48
uses : pypa/gh-action-pypi-publish@release/v1
44
49
with :
You can’t perform that action at this time.
0 commit comments