diff --git a/main.js b/main.js index 9cc041e..ae44623 100644 --- a/main.js +++ b/main.js @@ -189,9 +189,15 @@ async function main() { core.startGroup("Run static analysis") await exec.exec("docker", ["exec", container].concat( - ["lintian"] - .concat(lintianOpts) - .concat("*" + targetArchitecture + ".changes") + [ + "find", + buildDirectory, + "-maxdepth", "1", + "-name", `*${targetArchitecture}.changes`, + "-type", "f", + "-print", + "-exec" + ]).concat(["lintian"]).concat(lintianOpts).concat(["{}", ";"] )) core.endGroup() }