aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-15 14:31:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-15 14:31:18 +0300
commit71d1a06d043553be2179c02ce07ef9a2d04c491f (patch)
treec9b5fa78b9b096dc6b1fe90043735582abc34675 /action.yml
parentadd Ubuntu 21.10 (diff)
downloadsetup-clang-71d1a06d043553be2179c02ce07ef9a2d04c491f.tar.gz
setup-clang-71d1a06d043553be2179c02ce07ef9a2d04c491f.zip
add couple of comments
Diffstat (limited to '')
-rw-r--r--action.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/action.yml b/action.yml
index 44a8e88..a3e3447 100644
--- a/action.yml
+++ b/action.yml
@@ -102,6 +102,9 @@ runs:
}
function Format-AptLine {
+ # Source: https://apt.llvm.org/llvm.sh
+ # Don't forget to update once in a while.
+
param(
[Parameter(Mandatory=$true)]
[string] $Version
@@ -121,6 +124,9 @@ runs:
'Ubuntu-19.04' { "deb http://apt.llvm.org/disco/ llvm-toolchain-disco-$Version main" }
'Ubuntu-19.10' { "deb http://apt.llvm.org/eoan/ llvm-toolchain-eoan-$Version main" }
'Ubuntu-20.04' { "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-$Version main" }
+ # WTF is this? As of 2021-10-15, Ubuntu 20.10 is missing from the upstream llvm.sh,
+ # 21.04 (Hirsute) points to the the previous release (Groovy), and 21.10 (Impish)
+ # also points to the previous release (Hirsute). A mistake on their part?
'Ubuntu-20.10' { "deb http://apt.llvm.org/groovy/ llvm-toolchain-groovy-$Version main" }
'Ubuntu-21.04' { "deb http://apt.llvm.org/groovy/ llvm-toolchain-groovy-$Version main" }
'Ubuntu-21.10' { "deb http://apt.llvm.org/hirsute/ llvm-toolchain-hirsute-$Version main" }