Skip to content

Commit

Permalink
Use trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
F-WRunTime committed Jun 4, 2024
1 parent 52e194d commit 5feb025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ jobs:
name: 'Publish Pyk'
runs-on: [self-hosted, linux, flyweight]
environment: production
permissions:
id-token: write
needs: [set-release-id, source-tarball]
steps:
- name: Checkout
Expand Down Expand Up @@ -383,8 +385,6 @@ jobs:
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
packages-dir: pyk/dist
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD}}

# release:
# name: 'Publish Release'
Expand Down

0 comments on commit 5feb025

Please sign in to comment.