Closed
Description
The "Post Set up MATLAB" step which uploads MATLAB to the GitHub Actions cache does not appear to run if your job fails. This is unfortunate if MATLAB was set up properly but a subsequent steps happened to fail. It would be nice if even in this case MATLAB were still cached. This often occurs while initially setting up your workflow and having MATLAB cached would decrease the iteration time.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
mcafaro commentedon May 14, 2025
One way to do this would be to set
post-if: always()
inaction.yml
so that the post script always runs. Then in the main script do something likecore.saveState('succeeded', 'true')
to communicate to the post script that MATLAB was set up successful. Then in the post script do something like:mcafaro commentedon Jun 5, 2025
Closed by #148