Skip to content

Commit

Permalink
enhance: Publishing with trusted publisher (#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
XuanYang-cn authored Jan 7, 2025
1 parent 0b30267 commit 1b555d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish_dev_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
runs-on: ubuntu-latest
environment: testpypi
permissions:
id-token: write

steps:
- name: Check out from Git
Expand Down Expand Up @@ -38,6 +41,5 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TOKEN_TEST_PYPI }}
repository-url: https://test.pypi.org/legacy/

0 comments on commit 1b555d3

Please sign in to comment.