File tree Expand file tree Collapse file tree 1 file changed +10
-26
lines changed
Expand file tree Collapse file tree 1 file changed +10
-26
lines changed Original file line number Diff line number Diff line change 1- name : Upload Release to PyPi
2-
3- on :
4- release :
5- types : [published]
6-
7- permissions :
8- contents : read
9-
101jobs :
11- deploy :
2+ pypi-publish :
3+ name : Upload release to PyPI
124 runs-on : ubuntu-latest
13-
5+ environment :
6+ name : pypi
7+ url : https://pypi.org/p/pyadtpulse
8+ permissions :
9+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
1410 steps :
15- - uses : actions/checkout@v4
16-
17- - name : Setup uv
18- uses : astral-sh/setup-uv@v6
19- with :
20- version : " latest"
21-
22- - name : Build package
23- run : |
24- uv build
11+ # retrieve your distributions here
2512
26- - name : Publish to PyPi
27- run : |
28- uv publish
29- env :
30- UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
13+ - name : Publish package distributions to PyPI
14+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments