setup-cpp/src/opencppcoverage/opencppcoverage.ts

11 lines
319 B
TypeScript
Raw Normal View History

2021-09-16 16:49:25 +08:00
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")
}