Skip to content

Commit 3230186

Browse files
authored
Update upload-artifact to use v4 (apache#1371)
* use v4 * merge artifacts * remove mac 12 * remove old artifacts * add macos-15
1 parent 7fe8fdc commit 3230186

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/python-release.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ${{ matrix.os }}
3535
strategy:
3636
matrix:
37-
os: [ ubuntu-22.04, windows-2022, macos-12, macos-13, macos-14 ]
37+
os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ]
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -84,7 +84,17 @@ jobs:
8484
if: startsWith(matrix.os, 'ubuntu')
8585
run: ls -lah dist/* && cp dist/* wheelhouse/
8686

87-
- uses: actions/upload-artifact@v3
87+
- uses: actions/upload-artifact@v4
8888
with:
89-
name: "release-${{ github.event.inputs.version }}"
89+
name: "release-${{ matrix.os }}"
9090
path: ./wheelhouse/*
91+
merge:
92+
runs-on: ubuntu-latest
93+
needs: build_wheels
94+
steps:
95+
- name: Merge Artifacts
96+
uses: actions/upload-artifact/merge@v4
97+
with:
98+
name: "release-${{ github.event.inputs.version }}"
99+
pattern: release-*
100+
delete-merged: true

0 commit comments

Comments
 (0)