Skip to content

Commit

Permalink
fix: 尝试修复权限问题
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsSov8forUs committed Jun 28, 2024
1 parent 40add86 commit 76ac5a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Publish to PyPI and Release
run: |
export GH_TOKEN=$GITHUB_TOKEN
gh release upload --clobber ${{ steps.version.outputs.TAG_NAME }} dist/*.tar.gz dist/*.whl
python -m twine upload dist/* --repository-url https://upload.pypi.org/legacy/ --username __token__ --password ${{ secrets.PYPI_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}

0 comments on commit 76ac5a7

Please sign in to comment.