mirror of https://github.com/aminya/setup-cpp
fix: fix double doxygen installation on ubuntu 18
This commit is contained in:
parent
d1458aa5c0
commit
5d3ac21c56
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -58,7 +58,7 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
|
|||
let installationInfo: InstallationInfo
|
||||
if (version === "") {
|
||||
installationInfo = setupAptPack("doxygen", undefined)
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
// doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself
|
||||
installationInfo = await setupBin("doxygen", version, getDoxygenPackageInfo, setupDir, arch)
|
||||
|
@ -67,6 +67,7 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
|
|||
notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)
|
||||
installationInfo = setupAptPack("doxygen", undefined)
|
||||
}
|
||||
}
|
||||
await setupGraphviz(getVersion("graphviz", undefined), "", arch)
|
||||
return installationInfo
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue