Commit d7f7ed0
Fix cache issues with self-hosted runners
Disable julia-actions/cache for self-hosted runners as they persist between runs,
which causes the cache action to fail when the depot already exists.
This change:
- Adds conditional logic to detect self-hosted runners via USE_SELF_HOSTED repository variable
- Passes self-hosted=true when USE_SELF_HOSTED is set
- Disables cache when running on self-hosted runners
To use self-hosted runners, set the USE_SELF_HOSTED repository variable to 'true'.
Fixes the issue discussed here: https://github.com/SciML/ModelingToolkit.jl/actions/runs/16840335621/job/47712027510
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent 5f888c9 commit d7f7ed0
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
48 | 52 | | |
0 commit comments