Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict between actions/cache and setup-matlab@v2 #93

Closed
mcafaro opened this issue Feb 12, 2024 · 0 comments · Fixed by #107
Closed

Conflict between actions/cache and setup-matlab@v2 #93

mcafaro opened this issue Feb 12, 2024 · 0 comments · Fixed by #107
Labels
bug Something isn't working

Comments

@mcafaro
Copy link
Member

mcafaro commented Feb 12, 2024

It looks like it may be possible to cause an issue in setup-matlab@v2 if you use the actions/cache action manually rather than the cache: true input.

See https://github.com/opt4ai/prima/actions/runs/7855964578/job/21438238878 for example. In this workflow, MATLAB is cached using actions/cache and setup-matlab@v2 is run with cache: false (default).

Screenshot 2024-02-12 at 9 27 53 AM

When this workflow runs, the cache is restored by actions/cache and setup-matlab@v2 skips claiming it found MATLAB in the cache (even though cache: false). run-command@v2 is then unable to find matlab on the system path.

Screenshot 2024-02-12 at 9 29 12 AM
@mcafaro mcafaro added the bug Something isn't working label Feb 12, 2024
@davidbuzinski davidbuzinski linked a pull request Apr 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant