We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 965fba0 + 9254f54 commit 776e36dCopy full SHA for 776e36d
2 files changed
.github/workflows/pypi.yml
@@ -4,9 +4,24 @@ on:
4
tags:
5
- v*
6
jobs:
7
- build-n-publish:
+ build:
8
uses: fizyk/actions-reuse/.github/workflows/shared-pypi.yml@v4.4.7
9
with:
10
- publish: true
11
- secrets:
12
- pypi_token: ${{ secrets.pypi_password }}
+ publish: false
+
+ publish:
13
+ name: Publish Python 🐍 distributions 📦 to PyPI
14
+ needs: build
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ id-token: write
18
+ steps:
19
+ - name: Download distributions 📦
20
+ uses: actions/download-artifact@v4
21
+ with:
22
+ name: package
23
+ path: dist/
24
+ - name: Publish distribution 📦 to PyPI
25
+ uses: pypa/gh-action-pypi-publish@v1.14.0
26
27
+ verbose: true
newsfragments/+13f2182d.misc.rst
@@ -0,0 +1 @@
1
+Migrate package publishing step to trusted publishing.
0 commit comments