Open SaschaMann opened 2 years ago
I'm also running into this.
Instead of using the .dmg
files, can we use the .tar.gz
files? Would that eliminate the permission errors?
Instead of using the .dmg files, can we use the .tar.gz files? Would that eliminate the permission errors?
Last time I checked they were only available for recent Julia versions unfortunately. Otherwise I'd definitely prefer them.
If I recall correctly, @staticfloat went through and uploaded macOS tarballs for all non-prerelease Julia versions >= 1.0.0. The motivation for doing so is that juliaup
only supports the tarballs (it doesn't support the DMGs).
For this action, we could do either of the following:
If I recall correctly, @staticfloat went through and uploaded macOS tarballs for all non-prerelease Julia versions >= 1.0.0. The motivation for doing so is that juliaup only supports the tarballs (it doesn't support the DMGs).
If that's the case, let's swap to tarballs. Way less hassle and confusion than dealing with dmg files.
I can confirm that using tarballs (#117) fixes this issue on self-hosted macOS runners.
I suspect the issue with this is because setup-julia
uses the toolcache, so the .dmg
file is cached, and each time julia is installed it is mounted then contents copied to install dir i.e. as seen in
https://github.com/julia-actions/setup-julia/pull/117/files
So I think this issue is specific to the toolcache reusing the .dmg
.
(i.e. because this came up on slack in the context of juliaup moving to .dmg
's, juliaup wouldn't be reusing the .dmg
so shouldn't hit this permissions issue)
This is mainly a placeholder/reminder issue for now.