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

Error if `version` isn't a string #204

Open IanButterworth opened 9 months ago

IanButterworth commented 9 months ago

Related: https://github.com/julia-actions/setup-julia/pull/203

goerz commented 7 months ago

That would be great, at least when that makes the version ambiguous, as in 1.10 -> "1.1", see https://github.com/JuliaDocs/Documenter.jl/issues/2474

IanButterworth commented 7 months ago

I looked into this a little and didn't find a way to query what the type of the entry in the yml file is. And while it's possible for workflow_dispatch inputs to specify a type, it doesn't seem possible for general inputs

IanButterworth commented 7 months ago

Some fruitless exploration in #225 and filed an issue upstream https://github.com/actions/toolkit/issues/1682