We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b043b49 commit 69f2b7fCopy full SHA for 69f2b7f
.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
@@ -129,7 +133,4 @@ jobs:
129
133
path: dist/
130
134
- name: Publish to PyPI
131
135
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
132
- uses: pypa/gh-action-pypi-publish@master
- with:
- user: __token__
- password: ${{ secrets.PYPI_TOKEN }}
136
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments