Fall back to hardcoded versions when API errors

This is a temporary fix until we can get Julia versions directly
from julialang.org. Right now the GitHub API randomly fails due to
rate limiting which leads to builds failing even if a valid specific
version was specified.
This commit is contained in:
Sascha Mann
2019-10-26 11:51:41 +02:00
parent 2900978394
commit 5354e1e908
3 changed files with 23 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ Internally the action uses node's semver package to resolve version ranges. Its
#### WARNING: Version ranges are experimental and potentially unstable
For now, the action fetches the list of available Julia releases from the GitHub API. During testing it has happened that the host the action runner was on was hit by rate limiting. Once it's available we will use a list of versions provided on julialang.org.
For now, the action fetches the list of available Julia releases from the GitHub API. During testing it has happened that the host the action runner was on was hit by rate limiting. If this happens, the action falls back to a hardcoded list of releases. Once available we will use a list of versions provided on julialang.org.
### Matrix Testing