Skip to content

Commit 6c98605

Browse files
committed
ci: Place final artifacts in correct location
1 parent 3e1c4c3 commit 6c98605

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/publish.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464

6565
- uses: actions/upload-artifact@v4
6666
with:
67-
name: wheels-sdist
67+
name: sdist
6868
path: dist/*.tar.gz
6969

7070

@@ -76,6 +76,27 @@ jobs:
7676

7777
steps:
7878
- uses: actions/download-artifact@v5
79+
with:
80+
name: sdist
81+
path: dist
82+
83+
- uses: actions/download-artifact@v5
84+
with:
85+
name: wheels-ubuntu-latest
86+
path: wheel_artifacts
87+
- uses: actions/download-artifact@v5
88+
with:
89+
name: wheels-macos-13
90+
path: wheel_artifacts
91+
- uses: actions/download-artifact@v5
92+
with:
93+
name: wheels-macos-14
94+
path: wheel_artifacts
95+
- name: Gather wheels into ./dist
96+
run: |
97+
mkdir -p dist
98+
find wheel_artifacts -type f -name "*.whl" -exec mv {} dist/ \;
99+
79100
- name: Publish distribution 📦 to PyPI
80101
uses: pypa/gh-action-pypi-publish@release/v1
81102

0 commit comments

Comments
 (0)