feat: Set JULIAUP_DEPOT_PATH to a location in the runner tool cache - #205
feat: Set JULIAUP_DEPOT_PATH to a location in the runner tool cache#205krynju wants to merge 2 commits into
JULIAUP_DEPOT_PATH to a location in the runner tool cache#205Conversation
5c5902d to
0b83653
Compare
|
Would you be able to put the changes that touch |
|
At first glance, at a high-level, this seems reasonable to me, but I haven't done a line-by-line review yet. |
0b83653 to
0f17925
Compare
Done |
|
I left one comment, but overall this makes sense and we should do it. Users can recover the old behavior by manually setting the One question though, is whether this is breaking. My initial instinct is that it is breaking. @MichaelHatherly what do you think? We could work around it by making it opt-in in the current major version of |
I'm inclined to agree with that. Opt-in during this current major release and then switching it in the next might be the most reasonable. |
Assuming people use the action as intended it shouldn't be breaking. The only side effect I think would be that the cache is not reused on next the first run after the upgrade. |
JULIAUP_DEPOT_PATH to a location in the runner tool cache
2fa90cf to
86c213d
Compare
|
I've been giving this some more thought, and I wonder if we can call this a bugfix, with the idea being that GitHub Actions are expected to use the toolcache generally, so the fact that we haven't been using the toolcache up until now could be considered a bug. So then we'd say this is a bugfix, but users that need to recover the old behavior can manually set the By calling it a bugfix, we also don't need to create an opt-in mechanism, so the code surface becomes simpler. @MichaelHatherly What do you think? |
|
BTW, before merging, @krynju could you rebase on the latest |
4f63ee3 to
90528fe
Compare
Done, the 2 changes requested are in too |
90528fe to
1e963cc
Compare
|
Alright, here's my plan.
That way, if this does end up breaking someone's workflow, they can immediately revert back to the prior release. |
1e963cc to
f1ae682
Compare
f1ae682 to
8d2e4a2
Compare
Found because a worker had juliaup preinstalled and we've hit
Error: The Julia launcher failed to figure out which juliaup channel to use.I think it makes more sense to put it in the runner cache, so that it completely ignores what's currently on the runner.