mirror of https://github.com/aminya/setup-cpp
11 lines
319 B
TypeScript
11 lines
319 B
TypeScript
|
import { addPath } from "@actions/core"
|
||
|
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
||
|
|
||
|
export async function setupOpencppcoverage(version?: string) {
|
||
|
if (process.platform !== "win32") {
|
||
|
return
|
||
|
}
|
||
|
await setupChocoPack("opencppcoverage", version)
|
||
|
addPath("C:/Program Files/OpenCppCoverage")
|
||
|
}
|