Skip to content

Commit

Permalink
Test trusted publisher.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Dec 10, 2024
1 parent da69a6c commit 50c0bbb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

permissions:
id-token: write
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -44,8 +45,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{secrets.PYPI_API_TOKEN}}
verbose: true
uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{secrets.PYPI_API_TOKEN}}

0 comments on commit 50c0bbb

Please sign in to comment.