matlab-actions / setup-matlab

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

Remove MATLAB from the tool cache if mpm fails during installation. #125

Closed sameagen-MW closed 2 months ago

sameagen-MW commented 2 months ago

This is another step in supporting self-hosted runners. Currently if mpm fails mid-setup the MATLAB instance is just left in place and will trigger a cache hit on the next job. This causes all sorts of weird errors if the install happens to be incomplete or problematic in some other way.