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

Unhelpful error when Julia version does not exist #85

Closed christopher-dG closed 3 years ago

christopher-dG commented 3 years ago

If I specify version: 1.6.3, this is the error I get:

Error: Cannot read property 'files' of undefined

We should check for nullness here and bail with a proper "this version does not exist!" message.

https://github.com/julia-actions/setup-julia/blob/f577b7c3366b6d57c7e193893b6e55a64d9ad617/src/installer.ts#L122