mirror of https://github.com/aminya/setup-cpp
fix: do not care about the case of the inputs
This commit is contained in:
parent
ea280dfd67
commit
b4cb25de20
|
@ -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
|
||||
|
|
|
@ -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<number> {
|
|||
// setup opencppCoverage
|
||||
const opencppCoverageVersion = maybeGetInput("opencppcoverage")
|
||||
if (opencppCoverageVersion !== undefined) {
|
||||
await setupOpencppcoverage(gcovrVersion)
|
||||
await setupOpencppcoverage(opencppCoverageVersion)
|
||||
}
|
||||
|
||||
// setup llvm
|
||||
|
|
Loading…
Reference in New Issue