Skip to content

Commit e1b2b98

Browse files
committed
ci: Update publish_pypi.yml
1 parent 3f9e956 commit e1b2b98

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish_pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# @Author: jankincai
22
# @Date: 2024-09-13 10:48:33
33
# @Last Modified by: jankincai
4-
# @Last Modified time: 2025-07-14 16:57:55
4+
# @Last Modified time: 2025-09-04 14:06:30
55

66
# This workflow will upload a Python Package using Twine when a release is created
77
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
@@ -46,15 +46,15 @@ jobs:
4646
run: python -m build -s
4747

4848
- name: Publish package to Test PyPI
49-
uses: pypa/gh-action-pypi-publish@master
49+
uses: pypa/gh-action-pypi-publish@release/v1
5050
with:
5151
user: __token__
5252
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
5353
repository_url: https://test.pypi.org/legacy/
5454

5555
- name: Publish package to PyPI
5656
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
57-
uses: pypa/gh-action-pypi-publish@master
57+
uses: pypa/gh-action-pypi-publish@release/v1
5858
with:
5959
user: __token__
6060
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)