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

Feature request: Allow `dev` value for `version` which installs the latest alpha, beta or release candidate release #126

Closed EwoutH closed 1 year ago

EwoutH commented 1 year ago

It would be great of aside from the current nightly value for the version parameter (which installs the very latest nightly version), a general dev value could be added which installs the latest alpha, beta or release candidate version. So basically the very latest tagged release, no matter the pre-release status.

SaschaMann commented 1 year ago

Thanks!

I thought this was already possible through the node-semver syntax, but turns out it's not. I'll add a flag to include preleases, should be fairly straightforward.

EwoutH commented 1 year ago

Thanks for coming back! Did you already implement this?

SaschaMann commented 1 year ago

Not yet, I'll get to it on the weekend.

Or if you want, feel free to open a PR. The semver comparison takes a prerelease flag which needs to be hooked up to an input.