Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
429: GitHub Actions: on self-hosted runners, we need to check if Julia is available in the `PATH`, and install it if needed r=DilumAluthge a=DilumAluthge 1. On GitHub-hosted runners, we know that they will always have Julia pre-installed. Therefore, the `which julia` step will always succeed, and so we will never spend any time install Julia on GitHub-hosted runners. 2. On self-hosted runners, `which julia` will fail every time, so we will run the `setup-julia` action every time. However, this does not mean that we need to spend time installing Julia every time. The first time, the toolcache (e.g. `/runner/_work/_tool`) will be cold, so we will need to download and install Julia. But every subsequent time that we run the `setup-julia` action, the toolcache will be warm, and so running the `setup-julia` action will essentially be a no-op. Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
- Loading branch information