diff --git a/README.md b/README.md index 19a48775..3896151b 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,6 @@ The package will be usable from any environment (locally, GitHub Actions, etc). - [x] setup cppcheck - [x] setup doxygen - [x] setup ccache +- [x] setup OpenCppCoverage - [ ] setup gcc/mingw -- [ ] setup OpenCppCoverage - [ ] setup vcpkg diff --git a/src/main.ts b/src/main.ts index fc9f5087..7cccc951 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,7 +15,7 @@ import { setupOpencppcoverage } from "./opencppcoverage/opencppcoverage" import { setupPython } from "./python/python" function maybeGetInput(key: string) { - const value = core.getInput(key) + const value = core.getInput(key.toLowerCase()) if (value !== "false" && value !== "") { return value } @@ -65,7 +65,7 @@ export async function main(): Promise { // setup opencppCoverage const opencppCoverageVersion = maybeGetInput("opencppcoverage") if (opencppCoverageVersion !== undefined) { - await setupOpencppcoverage(gcovrVersion) + await setupOpencppcoverage(opencppCoverageVersion) } // setup llvm