Skip to content

Commit

Permalink
Switch to trusted publishing (#570)
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans authored Jan 23, 2025
1 parent 038762c commit 73ccb84
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,15 @@ jobs:
publish:
needs: [build-sdist, build-wheels]
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/gel
permissions:
id-token: write
attestations: write
contents: write
deployments: write

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -208,7 +215,4 @@ jobs:
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# password: ${{ secrets.TEST_PYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
attestations: true

0 comments on commit 73ccb84

Please # to comment.