From 0fa0605241bffd149a08ab915500337420c62b97 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Thu, 13 Feb 2025 17:38:58 -0500 Subject: [PATCH] [ci] update download-artifact to use pattern --- .github/workflows/build_all.yml | 3 ++- .github/workflows/build_macos_wheel.yml | 5 +++-- .github/workflows/build_windows_wheel.yml | 5 +++-- filter | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index bbfa07fd..5091b32d 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -243,7 +243,8 @@ jobs: - name: Download mcx uses: actions/download-artifact@v4 with: - name: all-mcxlab-packages-* + pattern: all-mcxlab-packages-* + merge-multiple: true path: packages - name: Create all-in-one octave mcxlab run: | diff --git a/.github/workflows/build_macos_wheel.yml b/.github/workflows/build_macos_wheel.yml index 57fa9d74..046f8b32 100644 --- a/.github/workflows/build_macos_wheel.yml +++ b/.github/workflows/build_macos_wheel.yml @@ -69,7 +69,7 @@ jobs: - name: Prepare Wheels for Upload uses: actions/upload-artifact@v4 with: - name: macos-wheels + name: macos-wheels-${{ matrix.python_version }} path: dist/ upload_macos_wheels: @@ -80,7 +80,8 @@ jobs: - name: Download Wheels from Build Job uses: actions/download-artifact@v4 with: - name: macos-wheels + pattern: macos-wheels-* + merge-multiple: true path: dist/ - name: Upload packages to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/build_windows_wheel.yml b/.github/workflows/build_windows_wheel.yml index 73d84b7e..4d27fe94 100644 --- a/.github/workflows/build_windows_wheel.yml +++ b/.github/workflows/build_windows_wheel.yml @@ -68,7 +68,7 @@ jobs: - name: Prepare Wheels for Upload uses: actions/upload-artifact@v4 with: - name: windows-wheels + name: windows-wheels-${{ matrix.python_version }} path: dist/ upload_windows_wheels: @@ -79,7 +79,8 @@ jobs: - name: Download Wheels from Build Job uses: actions/download-artifact@v4 with: - name: windows-wheels + pattern: windows-wheels-* + merge-multiple: true path: dist/ - name: Upload packages to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/filter b/filter index 7fc744ae..c8668b2c 160000 --- a/filter +++ b/filter @@ -1 +1 @@ -Subproject commit 7fc744ae41b41860e51b64715176220f8dc4d6e5 +Subproject commit c8668b2cc5c321e5d31b60605f81deae03926cd8