We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a15421 commit ee95e9fCopy full SHA for ee95e9f
.github/workflows/ci.yml
@@ -109,6 +109,10 @@ jobs:
109
publish:
110
runs-on: ubuntu-latest
111
needs: [lint, test, package-sdist, package-wheel]
112
+ environment: publish
113
+ permissions:
114
+ # Required by Trusted Publishing
115
+ id-token: write
116
steps:
117
- uses: actions/checkout@v5
118
- uses: actions/download-artifact@v6
@@ -130,6 +134,3 @@ jobs:
130
134
- name: Publish to PyPI
131
135
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
132
136
uses: pypa/gh-action-pypi-publish@release/v1
133
- with:
- user: __token__
- password: ${{ secrets.PYPI_TOKEN }}
0 commit comments