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