diff options
-rw-r--r-- | action.yml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" } |