Skip to content

Commit 97d80d7

Browse files
committed
pin MATLAB to specific versions in GitHub workflows
1 parent d3e91f6 commit 97d80d7

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.github/workflows/build_and_test_full.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- name: Install MATLAB
4141
uses: matlab-actions/setup-matlab@v2
4242
with:
43+
release: R2025a
4344
products: MATLAB_Compiler MATLAB_Compiler_SDK
4445
- name: Build OpenTelemetry-Matlab
4546
working-directory: opentelemetry-matlab
@@ -70,6 +71,7 @@ jobs:
7071
- name: Install MATLAB
7172
uses: matlab-actions/setup-matlab@v2
7273
with:
74+
release: R2025a
7375
products: MATLAB_Compiler MATLAB_Compiler_SDK
7476
- name: Build OpenTelemetry-Matlab
7577
working-directory: opentelemetry-matlab
@@ -106,6 +108,8 @@ jobs:
106108
- name: Install MATLAB
107109
uses: matlab-actions/setup-matlab@v2
108110
with:
111+
# pin to R2024b because R2025a has an issue that causes a failure when building the context_propagation example
112+
release: R2024b
109113
products: MATLAB_Compiler MATLAB_Compiler_SDK
110114
- name: Build OpenTelemetry-Matlab
111115
working-directory: opentelemetry-matlab
@@ -140,6 +144,7 @@ jobs:
140144
- name: Install MATLAB
141145
uses: matlab-actions/setup-matlab@v2
142146
with:
147+
release: R2025a
143148
products: MATLAB_Compiler MATLAB_Compiler_SDK
144149
- name: Build OpenTelemetry-Matlab
145150
working-directory: opentelemetry-matlab

.github/workflows/build_and_test_simple.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: Install MATLAB
4242
uses: matlab-actions/setup-matlab@v2
4343
with:
44+
release: R2025a
4445
products: MATLAB_Compiler MATLAB_Compiler_SDK
4546
- name: Build OpenTelemetry-Matlab
4647
working-directory: opentelemetry-matlab
@@ -70,6 +71,8 @@ jobs:
7071
- name: Install MATLAB
7172
uses: matlab-actions/setup-matlab@v2
7273
with:
74+
# pin to R2024b because R2025a has an issue that causes a failure when building the context_propagation example
75+
release: R2024b
7376
products: MATLAB_Compiler MATLAB_Compiler_SDK
7477
- name: Build OpenTelemetry-Matlab
7578
working-directory: opentelemetry-matlab
@@ -104,6 +107,7 @@ jobs:
104107
- name: Install MATLAB
105108
uses: matlab-actions/setup-matlab@v2
106109
with:
110+
release: R2025a
107111
products: MATLAB_Compiler MATLAB_Compiler_SDK
108112
- name: Build OpenTelemetry-Matlab
109113
working-directory: opentelemetry-matlab

.github/workflows/create_release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- name: Install MATLAB
1919
uses: matlab-actions/setup-matlab@v2
2020
with:
21+
release: R2025a
2122
products: MATLAB_Compiler
2223
- name: Build OpenTelemetry-Matlab
2324
working-directory: opentelemetry-matlab
@@ -46,6 +47,7 @@ jobs:
4647
- name: Install MATLAB
4748
uses: matlab-actions/setup-matlab@v2
4849
with:
50+
release: R2025a
4951
products: MATLAB_Compiler
5052
- name: Build OpenTelemetry-Matlab
5153
working-directory: opentelemetry-matlab
@@ -79,6 +81,7 @@ jobs:
7981
- name: Install MATLAB
8082
uses: matlab-actions/setup-matlab@v2
8183
with:
84+
release: R2025a
8285
products: MATLAB_Compiler
8386
- name: Build OpenTelemetry-Matlab
8487
working-directory: opentelemetry-matlab
@@ -121,7 +124,9 @@ jobs:
121124
tar -xzvf otel-matlab-macos-14.tar.gz
122125
tar -xzvf otel-matlab-windows.tar.gz
123126
- name: Install MATLAB
124-
uses: matlab-actions/setup-matlab@v1
127+
uses: matlab-actions/setup-matlab@v2
128+
with:
129+
release: R2025a
125130
- name: Run commands
126131
env:
127132
MATLABPATH: OpenTelemetry-Matlab/tools

0 commit comments

Comments
 (0)