Skip to content

Commit

Permalink
feat: trusted publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
sercancicek committed May 10, 2024
1 parent 54e6070 commit 627f499
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
name: release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
Expand All @@ -16,11 +17,7 @@ jobs:
with:
python-version: "3.10"
- name: Publish package distributions to PyPI
env:
PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}"
run: >-
pdm publish --repository pypi --username __token__ --password
$PYPI_API_TOKEN
run: pdm publish
- name: Install dependencies
run: |
pdm sync -G docs
Expand Down

0 comments on commit 627f499

Please sign in to comment.