File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,14 +128,18 @@ jobs:
128128 echo "Digest of artifacts is $DIGEST."
129129 echo "artifacts-sha256=$DIGEST" >> "$GITHUB_OUTPUT"
130130
131- # For now only generate artifacts for the specified OS and Python version in env variables.
132- # Currently reusable workflows do not support setting strategy property from the caller workflow.
131+ # For now only generate artifacts for the specified OS and Python version in env
132+ # variables. Currently reusable workflows do not support setting strategy property
133+ # from the caller workflow. Furthermore, add only top-level files as artifacts;
134+ # do not copy the generated simple-index/ folder.
133135 - name : Upload the package artifact for debugging and release
134136 if : matrix.os == env.ARTIFACT_OS && matrix.python == env.ARTIFACT_PYTHON
135137 uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
136138 with :
137139 name : artifact-${{ matrix.os }}-python-${{ matrix.python }}
138- path : dist
140+ path : |
141+ dist/*.*
142+ !dist/simple-index
139143 if-no-files-found : error
140144 retention-days : 7
141145
You can’t perform that action at this time.
0 commit comments