You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can modify the MATLAB root with setup-matlab@v2-beta, as shown:
name: Run MATLAB Build on GitHub-Hosted Runneron: [push]jobs:
my-job:
name: Run MATLAB Buildruns-on: ubuntu-lateststeps:
- name: Check out repositoryuses: actions/checkout@v3
- name: Set up MATLABid: set-up-matlabuses: matlab-actions/setup-matlab@v2-beta
- name: Add file to mexopts folderrun: touch ${{steps.set-up-matlab.outputs.matlabroot}}/bin/glnxa64/mexopts/my_mexopts.xml
- name: List files in mexopts folderrun: ls ${{steps.set-up-matlab.outputs.matlabroot}}/bin/glnxa64/mexopts
Because of the way setup-matlab@v1 works, it is not possible to modify the MATLAB root folder even if we support specifying a user-defined location.
Is it possible to provide an option that supports a user-defined root directory of MATLAB?
In my project, I would like to modify the xml files under 'mexopts', which is read only. In addition, GitHub actions do not support chmod.
Thank you for your consideration.
The text was updated successfully, but these errors were encountered: