mirror of https://github.com/aminya/setup-cpp
12 lines
429 B
TypeScript
12 lines
429 B
TypeScript
import { addPath } from "@actions/core"
|
|
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {
|
|
if (process.platform !== "win32") {
|
|
return
|
|
}
|
|
await setupChocoPack("opencppcoverage", version)
|
|
addPath("C:/Program Files/OpenCppCoverage")
|
|
}
|