aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-07-08 11:53:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-07-08 12:05:50 +0300
commitf553c1487dc2df78cb75a3c66a1f96321d2a7d91 (patch)
tree92e03bc66acdc34fbe80338d790ad235bec7a9e1 /action.yml
parentworkflows/test: test short version numbers too (diff)
downloadsetup-clang-1.1.1.tar.gz
setup-clang-1.1.1.zip
map version 4 to 4.0v1.1.1
Diffstat (limited to 'action.yml')
-rw-r--r--action.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/action.yml b/action.yml
index f1b9a1b..9565ab1 100644
--- a/action.yml
+++ b/action.yml
@@ -92,8 +92,9 @@ runs:
switch -Exact ($Version) {
# Since version 7, they dropped the .0 suffix. The earliest
- # version supported is 5.0 on Bionic; versions 5 and 6 are
- # mapped to LLVM-friendly 5.0 and 6.0.
+ # version supported is 3.9 on Bionic; versions 4, 5 and 6 are
+ # mapped to LLVM-friendly 4.0, 5.0 and 6.0.
+ '4' { '4.0' }
'5' { '5.0' }
'6' { '6.0' }
default { $Version }