Skip to content

Commit

Permalink
CI: Switch to trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 5, 2023
1 parent a0ac0c9 commit be2e171
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,11 @@ jobs:
runs-on: ubuntu-latest
needs: [test, test-sdist]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v3
with:
name: dist
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit be2e171

Please sign in to comment.