File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,13 @@ jobs:
30
30
run: |
31
31
python -m pip install --upgrade pip
32
32
pip install -r requirements.txt
33
- - name: Check out repository
34
- uses: actions/checkout@v4
35
33
- name: Set environment variables for MATLAB Engine
36
- if : ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
34
+ if : ${{ runner.os == 'macOS'}}
35
+ run: |
36
+ echo "DYLD_LIBRARY_PATH=/Users/runner/hostedtoolcache/MATLAB/2025.1.999/arm64/MATLAB.app/bin/maca64:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
37
+ if : ${{ runner.os == 'Linux'}}
37
38
run: |
38
- if [[ "${{ runner.os }}" == "macOS" ]]; then
39
- echo "DYLD_LIBRARY_PATH=/Users/runner/hostedtoolcache/MATLAB/2025.1.999/arm64/MATLAB.app/bin/maca64:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
40
- elif [[ "${{ runner.os }}" == "Linux" ]]; then
41
39
echo "LD_LIBRARY_PATH=/opt/hostedtoolcache/MATLAB/2025.1.999/x64/bin/glnxa64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
42
- fi
43
40
- name: Set up MATLAB
44
41
uses: matlab-actions/setup-matlab@v2
45
42
with:
You can’t perform that action at this time.
0 commit comments