diff --git a/src/main.js b/src/main.js index 6e981cdf..36448f23 100644 --- a/src/main.js +++ b/src/main.js @@ -9,7 +9,7 @@ const path = require('path'); async function run() { try { - await exec.exec('sudo apt-get install lcov'); + await exec.exec('sudo apt-get install -y lcov'); const tmpPath = path.resolve(os.tmpdir(), github.context.action); const coverageFilesPattern = core.getInput('coverage-files'); @@ -178,4 +178,4 @@ async function detail(coverageFile, octokit) { return '\n ' + lines.join('\n '); } -run(); \ No newline at end of file +run();