matlab-actions / setup-matlab

Set up your GitHub Actions workflow with a specific version of MATLAB.
BSD 3-Clause "New" or "Revised" License
76 stars 10 forks source link

How to specify MATLAB release #28

Closed Isaac-Ito-MW closed 2 years ago

Isaac-Ito-MW commented 2 years ago

Hi, I'd like to specify MATLAB release in setup-matlab. The README says that the action accepts the "release" option for that, but how can I specifically set it in ci.yml file?

mcafaro commented 2 years ago

Hi @Isaac-Ito-MW,

You can specify the release as follow:

- name: Set up MATLAB
  uses: matlab-actions/setup-matlab@v1
  with:
    release: R2021a

Please note the specified release must be R2020a or later.

Best, Mark

Isaac-Ito-MW commented 2 years ago

Thanks @mcafaro for the help 👍