You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/python-publish.yml
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ jobs:
28
28
29
29
- name: Build release distributions
30
30
run: |
31
+
# NOTE: put your own distribution build steps here.
31
32
python -m pip install build
32
33
python -m build
33
34
@@ -42,11 +43,19 @@ jobs:
42
43
needs:
43
44
- release-build
44
45
permissions:
46
+
# IMPORTANT: this permission is mandatory for trusted publishing
45
47
id-token: write
46
48
49
+
# Dedicated environments with protections for publishing are strongly recommended.
50
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
47
51
environment:
48
52
name: pypi
49
-
url: https://pypi.org/project/usf/
53
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
54
+
# url: https://pypi.org/project/usf/
55
+
#
56
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
57
+
# ALTERNATIVE: exactly, uncomment the following line instead:
0 commit comments