Skip to content

Commit ca24202

Browse files
committed
actions: only upload wheels
`overwrite` configuration on `actions/upload-artifact` does not work as intended as it does not really "overwrite" a file but it first deletes it and then upload the new copy. Obviously, this does not work on parallel builds. If only devs would learn english...
1 parent 613d342 commit ca24202

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: windows-build
53-
path: dist/
53+
path: dist/*.whl
5454
overwrite: true
5555

5656
build-macos-intel:
@@ -104,7 +104,7 @@ jobs:
104104
uses: actions/upload-artifact@v4
105105
with:
106106
name: macos-intel-build
107-
path: dist/
107+
path: dist/*.whl
108108
overwrite: true
109109

110110
build-macos-arm:
@@ -158,7 +158,7 @@ jobs:
158158
uses: actions/upload-artifact@v4
159159
with:
160160
name: macos-arm-build
161-
path: dist/
161+
path: dist/*.whl
162162
overwrite: true
163163

164164
build-macos-universal:
@@ -198,5 +198,5 @@ jobs:
198198
uses: actions/upload-artifact@v4
199199
with:
200200
name: macos-universal-build
201-
path: dist/
201+
path: dist/*.whl
202202
overwrite: true

0 commit comments

Comments
 (0)