generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
With the following workflow file: https://github.com/ocaml/merlin/blob/56e0601ad40995421ae9e3537158af30559fb65f/.github/workflows/main.yml
ocaml-compiler:
- 4.13.0~beta1
Is not understood as a valid compiler version and will instead expect it to be a package name, which makes opam fail with:
> Install OCaml
/opt/hostedtoolcache/opam/2.0.9/x86_64/opam switch create . --no-install --packages 4.13.0~beta1
opam: option `--packages': invalid element in list (`4.13.0~beta1'): Invalid
character in package name "4.13.0~beta1"
am switch [OPTION]... [COMMAND] [ARG]...
Try `opam switch --help' or `opam --help' for more information.
Error: The process '/opt/hostedtoolcache/opam/2.0.9/x86_64/opam' failed with exit code 2
This is a valid version string for opam and expliciting ocaml-base-compiler.4.13.0~beta1
shouldn't be required.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request