This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 7b54d44c ci: install cargo-about CLI on Intel macOS (#605)
7b54d44c is described below
commit 7b54d44c487590f4d84952533f110ba16e9346a4
Author: XiaoHongbo <[email protected]>
AuthorDate: Thu Jul 23 23:16:07 2026 +0800
ci: install cargo-about CLI on Intel macOS (#605)
---
.github/workflows/release-go-binding.yml | 11 +++++++++++
.github/workflows/release_python_binding.yml | 5 +++++
2 files changed, 16 insertions(+)
diff --git a/.github/workflows/release-go-binding.yml
b/.github/workflows/release-go-binding.yml
index 9d61675d..bfc50e62 100644
--- a/.github/workflows/release-go-binding.yml
+++ b/.github/workflows/release-go-binding.yml
@@ -144,10 +144,21 @@ jobs:
key: ${{ runner.os }}-${{ runner.arch }}-cargo-${{
hashFiles('**/Cargo.lock') }}
- name: Install cargo-about
+ if: matrix.runner != 'macos-15-intel'
uses: taiki-e/install-action@a6b2e2dcd845ddd7f509ce4f3ed3d922b80cc5d9
# v2.84.0
with:
tool: [email protected]
+ - name: Install cargo-about on Intel macOS
+ if: matrix.runner == 'macos-15-intel'
+ shell: bash
+ run: |
+ if cargo-about --version 2>/dev/null | grep -Fqx 'cargo-about
0.9.1'; then
+ echo 'cargo-about 0.9.1 is already installed'
+ else
+ cargo install cargo-about --version 0.9.1 --locked --features cli
--force
+ fi
+
- name: Install zstd on Linux
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y zstd
diff --git a/.github/workflows/release_python_binding.yml
b/.github/workflows/release_python_binding.yml
index b2b95823..5c0d1d65 100644
--- a/.github/workflows/release_python_binding.yml
+++ b/.github/workflows/release_python_binding.yml
@@ -115,10 +115,15 @@ jobs:
python-version: "3.11"
- name: Install cargo-about
+ if: matrix.os != 'macos-15-intel'
uses: taiki-e/install-action@a6b2e2dcd845ddd7f509ce4f3ed3d922b80cc5d9
# v2.84.0
with:
tool: [email protected]
+ - name: Install cargo-about on Intel macOS
+ if: matrix.os == 'macos-15-intel'
+ run: cargo install cargo-about --version 0.9.1 --locked --features cli
+
- name: Set Python release version
shell: bash
run: >