Skip to content

Commit d7774d7

Browse files
authored
(chore): update to upload-artifact@v4 (#84)
1 parent ee9bf84 commit d7774d7

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build_jar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- run: mvn -B package --file pom.xml -DskipTests
4040
- run: mkdir staging && cp target/*jar-with-dependencies.jar staging
41-
- uses: actions/upload-artifact@v1
41+
- uses: actions/upload-artifact@v4
4242
with:
4343
name: Package
4444
path: staging

.github/workflows/build_wheels.yml

Lines changed: 9 additions & 9 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: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"]
17+
cibw_build: ["cp38", "cp39", "cp310", "cp311", "cp312"]
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/setup-python@v4
2727
name: Install Python
2828
with:
29-
python-version: '3.8'
29+
python-version: '3.10'
3030

3131
- name: Install cibuildwheel
3232
run: |
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
python -m cibuildwheel --output-dir dist
3838
env:
39-
CIBW_BUILD: ${{ matrix.cibw_build }}
39+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
4040
CIBW_BUILD_VERBOSITY: 3
4141
CIBW_SKIP: "*musllinux*"
4242
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
@@ -58,9 +58,9 @@ jobs:
5858
CIBW_TEST_COMMAND: pytest {project}/tests/
5959

6060
- name: Upload Artifact
61-
uses: actions/upload-artifact@v3
61+
uses: actions/upload-artifact@v4
6262
with:
63-
name: filepattern-wheels
63+
name: filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
6464
path: dist/*.whl
6565
retention-days: 1
6666

@@ -73,7 +73,7 @@ jobs:
7373
matrix:
7474
os: [macos-13-xlarge]
7575
cibw_archs: ["arm64"]
76-
cibw_build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
76+
cibw_build: ["cp39", "cp310", "cp311", "cp312"]
7777

7878
steps:
7979
- uses: actions/checkout@v3
@@ -95,7 +95,7 @@ jobs:
9595
run: |
9696
python -m cibuildwheel --output-dir dist
9797
env:
98-
CIBW_BUILD: ${{ matrix.cibw_build }}
98+
CIBW_BUILD: ${{ matrix.cibw_build }}-*
9999
CIBW_BUILD_VERBOSITY: 3
100100
CIBW_ARCHS_MACOS: arm64
101101
CIBW_BEFORE_ALL_MACOS: bash ci-utils/install_prereq_linux.sh &&
@@ -108,8 +108,8 @@ jobs:
108108
CIBW_TEST_COMMAND: pytest {project}/tests/
109109

110110
- name: Upload Artifact
111-
uses: actions/upload-artifact@v3
111+
uses: actions/upload-artifact@v4
112112
with:
113-
name: filepattern-wheels-apple-silicon
113+
name: filepattern-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
114114
path: dist/*.whl
115115
retention-days: 1
-896 KB
Binary file not shown.

0 commit comments

Comments
 (0)