We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5945467 commit beabdacCopy full SHA for beabdac
.github/workflows/cd.yml
@@ -26,18 +26,17 @@ jobs:
26
run: pipx run twine check dist/*
27
28
29
- publish:
30
- needs: [dist]
31
- runs-on: ubuntu-latest
32
- if: github.event_name == 'release' && github.event.action == 'published'
33
-
34
- steps:
35
- - uses: actions/download-artifact@v3
+publish:
+ needs: [dist]
+ environment: release
+ permissions:
+ id-token: write
+ runs-on: ubuntu-latest
+ if: github.event_name == 'release' && github.event.action == 'published'
36
+ steps:
37
+ - uses: actions/download-artifact@v4
38
with:
- name: artifact
39
+ name: Packages
40
path: dist
41
- - uses: pypa/[email protected]
- with:
42
- password: ${{ secrets.pypi_password }}
43
- print-hash: true
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments