From 66de94504b2c1164e90a0d3cd7e8e91795adc3f2 Mon Sep 17 00:00:00 2001 From: Sarah Gilmore Date: Tue, 28 May 2024 13:15:29 -0400 Subject: [PATCH] fix workflow file --- dev/tasks/matlab/github.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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