Skip to content

Commit 356b929

Browse files
committed
fix: use notice instead of info in some palces
1 parent 682ca30 commit 356b929

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/doxygen/doxygen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { setupBrewPack } from "../utils/setup/setupBrewPack"
55
import { setupChocoPack } from "../utils/setup/setupChocoPack"
66
import { addBinExtension } from "../utils/extension/extension"
77
import { extractTar } from "../utils/setup/extract"
8-
import { info } from "../utils/io/io"
8+
import { notice } from "../utils/io/io"
99
import { setupGraphviz } from "../graphviz/graphviz"
1010
import { getVersion } from "../default_versions"
1111

@@ -47,7 +47,7 @@ export async function setupDoxygen(version: string, setupDir: string, arch: stri
4747
// doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself
4848
installationInfo = await setupBin("doxygen", version, getDoxygenPackageInfo, setupDir, arch)
4949
} catch (err) {
50-
info(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)
50+
notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)
5151
installationInfo = setupAptPack("doxygen", undefined)
5252
}
5353
await setupGraphviz(getVersion("graphviz", undefined), "", arch)

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInput, endGroup, startGroup } from "@actions/core"
1+
import { getInput, endGroup, startGroup, notice } from "@actions/core"
22
import { setupBrew } from "./brew/brew"
33
import { setupCcache } from "./ccache/ccache"
44
import { setupMake } from "./make/make"
@@ -217,7 +217,7 @@ export async function main(args: string[]): Promise<number> {
217217
}
218218
case "appleclang":
219219
case "applellvm": {
220-
info("Assuming apple-clang is already installed")
220+
notice("Assuming apple-clang is already installed")
221221
addEnv("CC", "clang")
222222
addEnv("CXX", "clang++")
223223
successMessages.push(getSuccessMessage("apple-clang", undefined))
@@ -289,7 +289,7 @@ export function getCompilerInfo(maybeCompiler: string) {
289289
if (semverValid(maybeVersion) !== null) {
290290
return { compiler, version: maybeVersion }
291291
} else {
292-
info(`Invalid semver version ${maybeVersion} used for the compiler.`)
292+
notice(`Invalid semver version ${maybeVersion} used for the compiler.`)
293293
return { compiler, version: maybeVersion }
294294
}
295295
}

0 commit comments

Comments
 (0)