Skip to content

Commit 95c8f2d

Browse files
committed
fix publishing
1 parent 6bce7b3 commit 95c8f2d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/cross_platform_tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,18 @@ jobs:
119119
run: find wheels -type f -name "*.whl" | sort
120120
shell: bash
121121

122+
- name: Flatten wheel structure
123+
run: |
124+
mkdir -p dist
125+
find wheels -name "*.whl" -exec cp {} dist/ \;
126+
echo "Files in dist after flattening:"
127+
ls -la dist/
128+
122129
- name: Upload combined wheels
123130
uses: actions/upload-artifact@v4
124131
with:
125132
name: all-wheels
126-
path: wheels/*/*.whl
133+
path: dist/*.whl
127134

128135
publish_to_test_pypi:
129136
name: Publish Python distributions to TestPyPI
@@ -145,6 +152,8 @@ jobs:
145152
run: |
146153
echo "Files in dist/:"
147154
ls -la dist/
155+
echo "Checking for .whl files specifically:"
156+
find dist -name "*.whl" -type f
148157
149158
- name: Publish to TestPyPI
150159
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)