From 1a838291c8157bc8f52359d94f9104bb6fb1b9c1 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Fri, 12 Apr 2024 14:02:28 +0800 Subject: [PATCH 1/4] :wrench: (CI): Fix actions/upload-artifact@v4 --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acc115d..df41dce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux path: dist windows: @@ -114,7 +114,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows path: dist macos: @@ -153,7 +153,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos path: dist sdist: @@ -172,7 +172,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: dist release: @@ -186,7 +186,7 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* - name: upload to github release uses: softprops/action-gh-release@v2 with: From 23d0722590baf361070c9d3bdf8e426a4b7d7326 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Fri, 12 Apr 2024 14:05:13 +0800 Subject: [PATCH 2/4] :wrench: (CI): Fix actions/upload-artifact@v4 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df41dce..62c8855 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-linux + name: wheels-linux-${{ matrix.target }} path: dist windows: @@ -114,7 +114,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-windows + name: wheels-windows-${{ matrix.target }} path: dist macos: @@ -153,7 +153,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-macos + name: wheels-macos-${{ matrix.target }} path: dist sdist: From 6243c9288b893bab0b425da8fdf217f42446c72b Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Fri, 12 Apr 2024 14:10:41 +0800 Subject: [PATCH 3/4] :wrench: (CI): speedup CI --- .github/workflows/release.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62c8855..844e2a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,6 @@ jobs: with: update: true install: >- - mingw-w64-x86_64-toolchain mingw-w64-x86_64-libjxl - name: Put MSYS2_MinGW64 on PATH @@ -130,11 +129,6 @@ jobs: - uses: actions/setup-python@v5 with: architecture: ${{ matrix.target }} - - - name: Install libjxl - run: | - brew reinstall jpeg-xl - ls /usr/local/Cellar/jpeg-xl/0.10.2/lib - name: Build wheels uses: PyO3/maturin-action@v1 From 28d12077215ec721262bdc5cb4dac34f10c0db77 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Fri, 12 Apr 2024 14:15:07 +0800 Subject: [PATCH 4/4] :wrench: (CI): Fix release CI mac build --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 844e2a4..8249dd6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,6 +80,7 @@ jobs: with: update: true install: >- + mingw-w64-x86_64-toolchain mingw-w64-x86_64-libjxl - name: Put MSYS2_MinGW64 on PATH