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
# # IMPORTANT: this permission is mandatory for trusted publishing
69
70
# id-token: write
@@ -86,29 +87,30 @@ jobs:
86
87
# with:
87
88
# packages-dir: dist/
88
89
89
-
# testpypi-publish:
90
-
# runs-on: ubuntu-latest
91
-
# needs:
92
-
# - release-build
93
-
# permissions:
94
-
# # IMPORTANT: this permission is mandatory for trusted publishing
95
-
# id-token: write
96
-
#
97
-
# # Dedicated environments with protections for publishing are strongly recommended.
98
-
# # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
99
-
# environment:
100
-
# name: testpypi
101
-
# url: https://test.pypi.org/p/compiled-knowledge
102
-
#
103
-
# steps:
104
-
# - name: Retrieve release distributions
105
-
# uses: actions/download-artifact@v4
106
-
# with:
107
-
# name: release-dists
108
-
# path: dist/
109
-
#
110
-
# - name: Publish release distributions to TestPyPI
111
-
# uses: pypa/gh-action-pypi-publish@release/v1
112
-
# with:
113
-
# repository-url: https://test.pypi.org/legacy/
114
-
# packages-dir: dist/
90
+
testpypi-publish:
91
+
runs-on: ubuntu-latest
92
+
needs:
93
+
- release-build-sdist
94
+
- release-build-wheels
95
+
permissions:
96
+
# IMPORTANT: this permission is mandatory for trusted publishing
97
+
id-token: write
98
+
99
+
# Dedicated environments with protections for publishing are strongly recommended.
100
+
# For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
0 commit comments