julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

MacOS Julia 1.8.0 takes 6 minutes #95

Closed fonsp closed 2 years ago

fonsp commented 2 years ago

On Linux, setup-julia with 1.8 takes 10 seconds, on windows 40 seconds, but on MacOS, it takes 6 minutes:

Workflow run: https://github.com/fonsp/Pluto.jl/runs/5382039907?check_suite_focus=true

Screenshot:

Schermafbeelding 2022-03-03 om 11 33 51
SaschaMann commented 2 years ago

Does this happen repeatedly?

I can't reproduce it in my tests: https://github.com/julia-actions/setup-julia/runs/5406283469?check_suite_focus=true & https://github.com/julia-actions/setup-julia/runs/5406254151?check_suite_focus=true

There might have been some random connection issues with the runner when trying to download the binary. It retries downloading it with an exponential backoff if something goes wrong, so it sometimes takes a while if there's a temporary issue with the download.


If it does happen repeatedly, please enable debug logs and post the full log of that step.

giordano commented 2 years ago

Yeah, I think it was a random connection problem, I haven't seen that the whole day.