diff --git a/dev/tasks/matlab/github.yml b/dev/tasks/matlab/github.yml index 2102665c4d799..7366818ae619c 100644 --- a/dev/tasks/matlab/github.yml +++ b/dev/tasks/matlab/github.yml @@ -59,17 +59,15 @@ jobs: path: matlab-arrow-ubuntu.tar.gz macos: - name: {{ '${{ matrix.architecture }}' }} macOS {{ '${{ matrix.macos-version }}' }} MATLAB - runs-on: macos-$${{ matrix.macos-version }} + {% set arch = '${{ matrix.platform.architecture}}' %} + {% set macos-version = '${{ matrix.platform.macos-version}}' %} + name: {{ arch }} macOS {{ macos-version }} MATLAB + runs-on: macos-{{ macos-version }} strategy: matrix: - include: - - architecture: AMD64 - macos-version: "12" - architecture-suffix: x64 - - architecture: ARM64 - macos-version: "14" - architecture-suffix: arm64 + platform: + - { architecture: "AMD64", macos-version: "12", architecture-suffix: "x64"} + - { architecture: "ARM64", macos-version: "14", architecture-suffix: "arm64"} steps: {{ macros.github_checkout_arrow()|indent }} - name: Install ninja-build