From d4fc891ded31480b2f78b94cea2bf35666cee184 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 25 Nov 2024 11:59:08 -0800 Subject: [PATCH 1/5] use v4 --- .github/workflows/python-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index dcdca8eef1..dc182243b1 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -84,7 +84,7 @@ jobs: if: startsWith(matrix.os, 'ubuntu') run: ls -lah dist/* && cp dist/* wheelhouse/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "release-${{ github.event.inputs.version }}" path: ./wheelhouse/* From 17e9853468771e1d0a1e865296ef1acc063987c2 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 25 Nov 2024 12:47:30 -0800 Subject: [PATCH 2/5] merge artifacts --- .github/workflows/python-release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index dc182243b1..ab2ee446bc 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -86,5 +86,14 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: "release-${{ github.event.inputs.version }}" + name: "release-${{ matrix.os }}" path: ./wheelhouse/* + merge: + runs-on: ubuntu-latest + needs: build_wheels + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: "release-${{ github.event.inputs.version }}" + pattern: release-* From 6854a2d153fc8dd3457f9281f1fe92c8879508b3 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 25 Nov 2024 13:29:13 -0800 Subject: [PATCH 3/5] remove mac 12 --- .github/workflows/python-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index ab2ee446bc..5a3093b64f 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -34,7 +34,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-22.04, windows-2022, macos-12, macos-13, macos-14 ] + os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ] steps: - uses: actions/checkout@v4 From 53f8b0293c55d2237b992e80ff05c3a827b77730 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 25 Nov 2024 13:32:39 -0800 Subject: [PATCH 4/5] remove old artifacts --- .github/workflows/python-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 5a3093b64f..0cf3347df5 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -97,3 +97,4 @@ jobs: with: name: "release-${{ github.event.inputs.version }}" pattern: release-* + delete-merged: true From 24f125cba6a50c8b7bc7afed5ba1c44ee59ec5f9 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Tue, 26 Nov 2024 10:22:25 -0800 Subject: [PATCH 5/5] add macos-15 --- .github/workflows/python-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 0cf3347df5..7541360bf2 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -34,7 +34,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-22.04, windows-2022, macos-13, macos-14 ] + os: [ ubuntu-22.04, windows-2022, macos-13, macos-14, macos-15 ] steps: - uses: actions/checkout@v4