From 71d1a06d043553be2179c02ce07ef9a2d04c491f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 15 Oct 2021 14:31:18 +0300 Subject: add couple of comments --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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" } -- cgit v1.2.3