diff options
| author | 2025-12-31 17:56:34 +0800 | |
|---|---|---|
| committer | 2025-12-31 17:56:34 +0800 | |
| commit | e84af2657916f7a4a23d4dffadf58e52e1f4720d (patch) | |
| tree | 6dd8f7b392b3a9fc3bcc52d451f15be62ef6aef8 /.github/workflows | |
| parent | 7b15d1470addfe6f7e7079c9f52c1ed7ded1484d (diff) | |
| download | base-model-e84af2657916f7a4a23d4dffadf58e52e1f4720d.tar.gz base-model-e84af2657916f7a4a23d4dffadf58e52e1f4720d.zip | |
fix: remove unnecessary permissions and update TestPyPI publish step
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/publish.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 599798d..43551c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -95,9 +95,6 @@ jobs: name: test-pypi url: https://test.pypi.org/project/${{ github.sha }}/ - permissions: - id-token: write - steps: - name: Checkout code uses: actions/checkout@v6 @@ -130,6 +127,8 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/ + username: __token__ + password: ${{ secrets.TEST_PYPI_API_TOKEN }} publish-pypi: name: Publish to PyPI |
