We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc73ba6 + e3232b4 commit b18bd5dCopy full SHA for b18bd5d
.github/workflows/python-publish.yml
@@ -18,6 +18,8 @@ permissions:
18
jobs:
19
deploy:
20
runs-on: ubuntu-latest
21
+ permissions:
22
+ id-token: write
23
24
steps:
25
- uses: actions/checkout@v4
@@ -28,11 +30,9 @@ jobs:
28
30
- name: Install dependencies
29
31
run: |
32
python -m pip install --upgrade pip
- pip install build
- - name: Build package
33
- run: python -m build
34
- - name: Publish package
35
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0
36
- with:
37
- user: __token__
38
- password: ${{ secrets.PYPI_API_TOKEN }}
+ pip install setuptools wheel build
+ - name: Build
+ run: |
+ python -m build
+ - name: Publish
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments