diff --git a/.github/workflows/release-go-binding.yml b/.github/workflows/release-go-binding.yml index 9d61675d8..bfc50e623 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: cargo-about@0.9.1 + - 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 b2b958237..5c0d1d65f 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: cargo-about@0.9.1 + - 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: >