Skip to content

Commit 7b8f01a

Browse files
authored
Fix the name of the linux artifacts (#125)
* Fix the name of the linux artifacts * Update to newer upload/download actions * Clean up the wheel folders
1 parent 7164310 commit 7b8f01a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
Copy-Item "./build/src/python/${{env.BUILD_TYPE}}/py*simplex.pyd" -Destination "artifacts/pyModules"
6363
6464
- name: Upload Artifacts
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
with:
6767
name: win64-${{matrix.maya}}
6868
path: |
@@ -117,7 +117,7 @@ jobs:
117117
cp ./build/src/python/${{env.BUILD_TYPE}}/py*simplex.so artifacts/pyModules
118118
119119
- name: Upload Artifacts
120-
uses: actions/upload-artifact@v3
120+
uses: actions/upload-artifact@v4
121121
with:
122122
name: mac-${{matrix.maya}}
123123
path: |
@@ -168,9 +168,9 @@ jobs:
168168
cp ./build/src/python/py*simplex.so artifacts/pyModules
169169
170170
- name: Upload Artifacts
171-
uses: actions/upload-artifact@v3
171+
uses: actions/upload-artifact@v4
172172
with:
173-
name: linux-${{matrix.year}}
173+
name: linux-${{matrix.maya}}
174174
path: |
175175
artifacts/plug-ins/simplex_maya.so
176176
artifacts/pyModules/py*simplex.so
@@ -211,9 +211,9 @@ jobs:
211211
py -3 -m wheel tags --remove --python-tag cp3 --abi-tag abi3 --platform-tag win_amd64 dist/$PY_WHEEL
212212
213213
- name: Upload Artifacts
214-
uses: actions/upload-artifact@v3
214+
uses: actions/upload-artifact@v4
215215
with:
216-
name: wheels
216+
name: wheels-win
217217
path: dist/*.whl
218218

219219
python-macos:
@@ -254,9 +254,9 @@ jobs:
254254
done
255255
256256
- name: Upload Artifacts
257-
uses: actions/upload-artifact@v3
257+
uses: actions/upload-artifact@v4
258258
with:
259-
name: wheels
259+
name: wheels-macos
260260
path: dist/*.whl
261261

262262
python-linux:
@@ -294,9 +294,9 @@ jobs:
294294
done
295295
296296
- name: Upload Artifacts
297-
uses: actions/upload-artifact@v3
297+
uses: actions/upload-artifact@v4
298298
with:
299-
name: wheels
299+
name: wheels-linux
300300
path: dist/*.whl
301301

302302
#
@@ -315,14 +315,14 @@ jobs:
315315
fetch-depth: 0
316316

317317
- name: Download artifacts
318-
uses: actions/download-artifact@v3
318+
uses: actions/download-artifact@v4
319319
with:
320320
path: modules/simplex
321321

322322
- name: Move Wheels
323323
run: |
324-
mv modules/simplex/wheels/*.whl .
325-
rm -rf modules/simplex/wheels
324+
mv modules/simplex/wheels-*/*.whl .
325+
rm -rf modules/simplex/wheels-*
326326
327327
#- name: Display structure of working directory
328328
# run: ls -R
@@ -346,7 +346,7 @@ jobs:
346346
cd ..
347347
348348
- name: Upload Artifacts
349-
uses: actions/upload-artifact@v3
349+
uses: actions/upload-artifact@v4
350350
with:
351351
name: simplex-module
352352
path: simplex-${{ env.RELEASE_VERSION }}.zip

0 commit comments

Comments
 (0)