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 3db7f33 commit aa9da84Copy full SHA for aa9da84
.github/workflows/publish.yml
@@ -3,8 +3,12 @@ on:
3
release:
4
types: [ published ]
5
jobs:
6
- pypi:
+ pypi-publish:
7
+ name: upload release to PyPI
8
runs-on: ubuntu-latest
9
+ environment: pypi
10
+ permissions:
11
+ id-token: write
12
steps:
13
- name: Checkout
14
uses: actions/checkout@v3
@@ -14,6 +18,4 @@ jobs:
18
uses: ./.github/actions/build-core
15
19
- run: python3 -m pip install --upgrade build && python3 -m build
16
20
- name: Publish package
17
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- password: ${{ secrets.PYPI_TOKEN }}
21
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments