UNPKG

setup-cpp

Version:

Install all the tools required for building and testing C++/C projects.

12 lines (9 loc) 279 B
import { getInput } from "@actions/core" /** Get an object from github actions */ export function maybeGetInput(key: string) { const value = getInput(key.toLowerCase()) if (value !== "false" && value !== "") { return value } return undefined // skip installation }