From 61303b8b4bd7ee6b9f747f304335798b6be902a1 Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Mon, 11 Nov 2019 19:24:48 +0100 Subject: [PATCH] Add warning about quotes around versions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2523a3b..3321d40 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ steps: You can either specify specific Julia versions or version ranges. If you specify a version range, the **highest** available Julia version that matches the range will be selected. +**Warning:** It is strongly recommended to wrap versions in quotes. Otherwise, the YAML parser used by GitHub Actions parses certain versions as numbers which causes the wrong version to be selected. For example, `1.0` is parsed as `1`. + #### Examples - `1.2.0` is a valid semver version. The action will try to download exactly this version. If it's not available, the build step will fail.