We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d814b9 commit 3bcf611Copy full SHA for 3bcf611
1 file changed
.github/workflows/pypipublish.yml
@@ -1,13 +1,8 @@
1
name: Publish Python
2
3
-# on:
4
-# release:
5
-# types: [published]
6
-
7
on:
8
- push:
9
- tags:
10
- - 'v*'
+ release:
+ types: [published]
11
12
jobs:
13
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
+ with:
+ password: ${{ secrets.PYPI_TEST_KEY }}
+ repository_url: https://test.pypi.org/legacy/
47
- name: Publish distribution 📦 to PyPI
48
uses: pypa/gh-action-pypi-publish@release/v1
49
with:
0 commit comments