Skip to content

Commit 2915f1e

Browse files
committed
restores publish.yml to previous state
1 parent f2ac856 commit 2915f1e

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/pypipublish.yml

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

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

127
jobs:
138
tests:
@@ -39,11 +34,11 @@ jobs:
3934
--wheel
4035
--outdir dist/
4136
.
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/
4742
- name: Publish distribution 📦 to PyPI
4843
uses: pypa/gh-action-pypi-publish@release/v1
4944
with:

0 commit comments

Comments
 (0)