Skip to content

Commit e7f5f81

Browse files
authored
apacheGH-41531: [MATLAB][Packaging] Bump matlab-actions/setup-matlab and matlab-actions/run-command from v1 to v2 in the crossbow job (apache#41532)
### Rationale for this change I noticed `dev/tasks/matlab/github.yml` is still using `matlab-actions/setup-matlab@ v1`, which is no longer supported. See this [log](https://github.com/ursacomputing/crossbow/actions/runs/8928507510/job/24524230971#step:4:11) file. We should use `matlab-actions/setup-matlab@ v2` instead. We should also use `matlab-actions/run-command@ v2` instead of `matlab-actions/run-command@ v1`. ### What changes are included in this PR? 1. Replaced `matlab-actions/setup-matlab@ v1` with `matlab-actions/setup-matlab@ v2` in `dev/tasks/matlab/github.yml` 2. Replaced `matlab-actions/run-command@ v1` with `matlab-actions/run-command@ v2` in `dev/tasks/matlab/github.yml` ### Are these changes tested? N/A (I will trigger a crossbow job to verify the packaging workflow works as expected still). ### Are there any user-facing changes? No. * GitHub Issue: apache#41531 Authored-by: Sarah Gilmore <[email protected]> Signed-off-by: Sarah Gilmore <[email protected]>
1 parent 493d456 commit e7f5f81

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev/tasks/matlab/github.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install ninja-build
3030
run: sudo apt-get update && sudo apt-get install ninja-build
3131
- name: Install MATLAB
32-
uses: matlab-actions/setup-matlab@v1
32+
uses: matlab-actions/setup-matlab@v2
3333
with:
3434
release: R2024a
3535
- name: Build MATLAB Interface
@@ -66,7 +66,7 @@ jobs:
6666
- name: Install ninja-build
6767
run: brew install ninja
6868
- name: Install MATLAB
69-
uses: matlab-actions/setup-matlab@v1
69+
uses: matlab-actions/setup-matlab@v2
7070
with:
7171
release: R2024a
7272
- name: Build MATLAB Interface
@@ -101,7 +101,7 @@ jobs:
101101
steps:
102102
{{ macros.github_checkout_arrow()|indent }}
103103
- name: Install MATLAB
104-
uses: matlab-actions/setup-matlab@v1
104+
uses: matlab-actions/setup-matlab@v2
105105
with:
106106
release: R2024a
107107
- name: Install sccache
@@ -147,7 +147,7 @@ jobs:
147147
cp arrow/LICENSE.txt arrow/matlab/install/arrow_matlab/LICENSE.txt
148148
cp arrow/NOTICE.txt arrow/matlab/install/arrow_matlab/NOTICE.txt
149149
- name: Install MATLAB
150-
uses: matlab-actions/setup-matlab@v1
150+
uses: matlab-actions/setup-matlab@v2
151151
with:
152152
release: R2024a
153153
- name: Run commands
@@ -156,7 +156,7 @@ jobs:
156156
ARROW_MATLAB_TOOLBOX_FOLDER: arrow/matlab/install/arrow_matlab
157157
ARROW_MATLAB_TOOLBOX_OUTPUT_FOLDER: artifacts/matlab-dist
158158
ARROW_MATLAB_TOOLBOX_VERSION: {{ arrow.no_rc_version }}
159-
uses: matlab-actions/run-command@v1
159+
uses: matlab-actions/run-command@v2
160160
with:
161161
command: packageMatlabInterface
162162
{{ macros.github_upload_releases(["artifacts/matlab-dist/*.mltbx"])|indent }}

0 commit comments

Comments
 (0)