Skip to content

Commit 5fe3518

Browse files
committed
Refine workflow names to distinguish PyPI and TestPyPI publishing.
1 parent f0e06d2 commit 5fe3518

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

β€Ž.github/workflows/publish-to-pypi.ymlβ€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
1+
name: Publish Python 🐍 distributions πŸ“¦ to PyPI
22

33
on:
44
push:
55
tags:
66
- '*'
77
jobs:
88
build-n-publish:
9-
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
9+
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@master
@@ -37,5 +37,3 @@ jobs:
3737
- name: Publish distribution πŸ“¦ to PyPI
3838
if: startsWith(github.ref, 'refs/tags')
3939
uses: pypa/gh-action-pypi-publish@release/v1
40-
with:
41-
password: ${{ secrets.PYPI_API_TOKEN }}

β€Ž.github/workflows/publish-to-test-pypi.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: Publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
1+
name: Publish Python 🐍 distributions πŸ“¦ to TestPyPI
22

33
on:
44
push:
55
tags:
66
- '*'
77
jobs:
88
build-n-publish:
9-
name: Build and publish Python 🐍 distributions πŸ“¦ to PyPI and TestPyPI
9+
name: Build and publish Python 🐍 distributions πŸ“¦ to TestPyPI
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@master

0 commit comments

Comments
Β (0)