We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a7a103 commit c6be1dcCopy full SHA for c6be1dc
.github/workflows/publish.yaml
@@ -11,12 +11,13 @@ jobs:
11
pypi-publish:
12
name: upload release to PyPI
13
runs-on: ubuntu-latest
14
- environment: publish
+ # Specifying a GitHub environment is optional, but strongly encouraged
15
+ environment: release
16
permissions:
17
+ # IMPORTANT: this permission is mandatory for trusted publishing
18
id-token: write
19
steps:
20
+ # retrieve your distributions here
21
+
22
- name: Publish package distributions to PyPI
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- username: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
23
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments