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
# NOTE: put your own distribution build steps here.
28
+
python -m pip install build
29
+
python -m build
30
+
31
+
- name: Upload distributions
32
+
uses: actions/upload-artifact@v4
33
+
with:
34
+
name: release-dists
35
+
path: dist/
36
+
37
+
pypi-publish:
38
+
runs-on: ubuntu-latest
39
+
needs:
40
+
- release-build
41
+
permissions:
42
+
# IMPORTANT: this permission is mandatory for trusted publishing
43
+
id-token: write
44
+
45
+
# Dedicated environments with protections for publishing are strongly recommended.
46
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
47
+
environment:
48
+
name: pypi
49
+
# OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
50
+
#url: https://pypi.org/p/${GITHUB_REPOSITORY#*/}
51
+
#
52
+
# ALTERNATIVE: if your GitHub Release name is the PyPI project version string
53
+
# ALTERNATIVE: exactly, uncomment the following line instead:
0 commit comments