Skip to content

Commit e16cb9d

Browse files
authored
Update pythonpublish.yml
1 parent 1479428 commit e16cb9d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# This workflows will upload a Python Package using pypa/gh-action-pypi-publish@master when a release is created
22
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
33

4-
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
4+
name: Publish Python 🐍 distributions 📦 to PyPI
55

66
on:
77
release:
88
types: [created]
99

1010
jobs:
1111
build-n-publish:
12-
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
12+
name: Build and publish Python 🐍 distributions 📦 to PyPI
1313
runs-on: ubuntu-18.04
1414
steps:
1515
- uses: actions/checkout@master
16-
- name: Set up Python 3.7
16+
- name: Set up Python 3.x
1717
uses: actions/setup-python@v1
1818
with:
1919
python-version: 3.x
@@ -24,12 +24,6 @@ jobs:
2424
- name: Build a binary wheel and a source tarball
2525
run: |
2626
python setup.py sdist bdist_wheel
27-
- name: Publish distribution 📦 to Test PyPI
28-
uses: pypa/gh-action-pypi-publish@master
29-
with:
30-
user: __token__
31-
password: ${{ secrets.test_pypi_password }}
32-
repository_url: https://test.pypi.org/legacy/
3327
- name: Publish distribution 📦 to PyPI
3428
if: startsWith(github.event.ref, 'refs/tags')
3529
uses: pypa/gh-action-pypi-publish@master

0 commit comments

Comments
 (0)