Skip to content

Commit 946474d

Browse files
authored
Update upload-artifact (PolusAI#262)
1 parent 3d355d7 commit 946474d

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/build_cuda11_wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
os: [windows-2019, ubuntu-20.04]
1414
cibw_archs: ["auto64"]
15-
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
15+
cibw_build: ["cp39", "cp310", "cp311", "cp312"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
python -m cibuildwheel --output-dir dist
5555
env:
56-
CIBW_BUILD: ${{ matrix.cibw_build }}
56+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
5757
CIBW_SKIP: "*musllinux*"
5858
CIBW_BUILD_VERBOSITY: 3
5959
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
@@ -78,8 +78,8 @@ jobs:
7878
CIBW_TEST_COMMAND: python -m pip check
7979

8080
- name: Upload Artifact
81-
uses: actions/upload-artifact@v3
81+
uses: actions/upload-artifact@v4
8282
with:
83-
name: nyxus-cuda11-wheels
83+
name: nyxus-cuda11-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
8484
path: dist/*.whl
8585
retention-days: 1

.github/workflows/build_cuda12_wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
matrix:
1313
os: [windows-2019, ubuntu-20.04]
1414
cibw_archs: ["auto64"]
15-
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
15+
cibw_build: ["cp39", "cp310", "cp311", "cp312"]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
python -m cibuildwheel --output-dir dist
5555
env:
56-
CIBW_BUILD: ${{ matrix.cibw_build }}
56+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
5757
CIBW_SKIP: "*musllinux*"
5858
CIBW_BUILD_VERBOSITY: 3
5959
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
@@ -78,8 +78,8 @@ jobs:
7878
CIBW_TEST_COMMAND: python -m pip check
7979

8080
- name: Upload Artifact
81-
uses: actions/upload-artifact@v3
81+
uses: actions/upload-artifact@v4
8282
with:
83-
name: nyxus-cuda12-wheels
83+
name: nyxus-cuda12-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
8484
path: dist/*.whl
8585
retention-days: 1

.github/workflows/build_wheels.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [ubuntu-20.04, macos-13, windows-latest]
1616
cibw_archs: ["auto64"]
17-
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
17+
cibw_build: ["cp39", "cp310", "cp311", "cp312"]
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -38,7 +38,7 @@ jobs:
3838
run: |
3939
python -m cibuildwheel --output-dir dist
4040
env:
41-
CIBW_BUILD: ${{ matrix.cibw_build }}
41+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
4242
CIBW_SKIP: "*musllinux*"
4343
CIBW_BUILD_VERBOSITY: 3
4444
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
@@ -66,9 +66,9 @@ jobs:
6666
CIBW_TEST_COMMAND: pytest -vv {project}/tests/python
6767

6868
- name: Upload Artifact
69-
uses: actions/upload-artifact@v3
69+
uses: actions/upload-artifact@v4
7070
with:
71-
name: nyxus-wheels
71+
name: nyxus-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
7272
path: dist/*.whl
7373
retention-days: 1
7474

@@ -82,7 +82,7 @@ jobs:
8282
matrix:
8383
os: [macos-13-xlarge]
8484
cibw_archs: ["arm64"]
85-
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
85+
cibw_build: ["cp39", "cp310", "cp311", "cp312"]
8686

8787
steps:
8888
- uses: actions/checkout@v3
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
python -m cibuildwheel --output-dir dist
103103
env:
104-
CIBW_BUILD: ${{ matrix.cibw_build }}
104+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
105105
CIBW_BUILD_VERBOSITY: 3
106106
CIBW_ARCHS_MACOS: arm64
107107
CIBW_BEFORE_ALL_MACOS: brew install llvm@16 &&
@@ -117,8 +117,8 @@ jobs:
117117
CIBW_TEST_COMMAND: pytest -vv {project}/tests/python
118118

119119
- name: Upload Artifact
120-
uses: actions/upload-artifact@v3
120+
uses: actions/upload-artifact@v4
121121
with:
122-
name: nyxus-wheels-apple-arm64
122+
name: nyxus-wheels-apple-arm64-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
123123
path: dist/*.whl
124124
retention-days: 1

0 commit comments

Comments
 (0)