Skip to content

Commit

Permalink
调整 PyPI 上传配置
Browse files Browse the repository at this point in the history
  • Loading branch information
TakWolf committed Jan 31, 2024
1 parent 9038703 commit 89ddaf0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/pixel-font-builder/
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -22,6 +27,3 @@ jobs:
run: python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 89ddaf0

Please sign in to comment.