mirror of https://github.com/aminya/setup-cpp
fix: fix llvm 8 on ubuntu
This commit is contained in:
parent
46cc30329b
commit
3ee98813ad
|
@ -181,7 +181,7 @@ function getLinuxUrl(versionGiven: string): string {
|
|||
// ubuntu-version is specified
|
||||
if (version.includes("ubuntu")) {
|
||||
ubuntu = version
|
||||
} else if (version !== "") {
|
||||
} else if (version !== "" && version in UBUNTU) {
|
||||
ubuntu = UBUNTU[version]
|
||||
} else {
|
||||
// default to the maximum vresion
|
||||
|
|
Loading…
Reference in New Issue