Skip to content

Commit 52b4862

Browse files
committed
fix: use info instead of warning [skip ci]
1 parent 514055a commit 52b4862

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { InstallationInfo } from "./utils/setup/setupBin"
2424
import { error, success } from "./utils/io/io"
2525
import { setupVcpkg } from "./vcpkg/vcpkg"
2626
import { join } from "path"
27-
import { warning } from "@actions/core"
2827
import { setupVCVarsall } from "./vcvarsall/vcvarsall"
2928
import { setupKcov } from "./kcov/kcov"
3029

@@ -176,7 +175,7 @@ export async function main(args: string[]): Promise<number> {
176175
}
177176
case "appleclang":
178177
case "applellvm": {
179-
core.warning("Assuming apple-clang is already installed")
178+
core.info("Assuming apple-clang is already installed")
180179
core.exportVariable("CC", "clang")
181180
core.exportVariable("CXX", "clang++")
182181
break
@@ -236,7 +235,7 @@ export function getCompilerInfo(maybeCompiler: string) {
236235
if (semverValid(maybeVersion) !== null) {
237236
return { compiler, version: maybeVersion }
238237
} else {
239-
warning(`Invalid semver version ${maybeVersion} used for the compiler.`)
238+
core.info(`Invalid semver version ${maybeVersion} used for the compiler.`)
240239
return { compiler, version: maybeVersion }
241240
}
242241
}

0 commit comments

Comments
 (0)