Skip to content

Commit 07f50a4

Browse files
committed
Hide download progress when getting maven dependencies for easier debugging
Signed-off-by: Taylor Smock <smocktaylor@gmail.com>
1 parent 514ded7 commit 07f50a4

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

actions/josm_build/dist/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80082,7 +80082,13 @@ async function buildJosm(josmSource, josmRevision) {
8008280082
const ivyHit = await (0,cache.restoreCache)(["~/.ivy2/cache", "~/.ant/cache", "~/.m2", josmSource + "/tools"], `${process.platform}-${process.arch}-ivy-${ivyFiles}`);
8008380083
if (ivyHit == null || ivyHit === "") {
8008480084
await (0,exec.exec)("ant", ["-buildfile", josmSource + "/build.xml", "resolve"]);
80085-
await (0,exec.exec)("mvn", ["--file", josmSource + "/pom.xml", "clean", "validate"]);
80085+
await (0,exec.exec)("mvn", [
80086+
"--file",
80087+
josmSource + "/pom.xml",
80088+
"--no-transfer-progress",
80089+
"clean",
80090+
"validate",
80091+
]);
8008680092
await (0,cache.saveCache)(["~/.ivy2/cache", "~/.ant/cache", "~/.m2", josmSource + "/tools"], `${process.platform}-${process.arch}-ivy-${ivyFiles}`);
8008780093
}
8008880094
// Build with maven

actions/josm_build/src/action.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ async function buildJosm(
6868
);
6969
if (ivyHit == null || ivyHit === "") {
7070
await exec("ant", ["-buildfile", josmSource + "/build.xml", "resolve"]);
71-
await exec("mvn", ["--file", josmSource + "/pom.xml", "clean", "validate"]);
71+
await exec("mvn", [
72+
"--file",
73+
josmSource + "/pom.xml",
74+
"--no-transfer-progress",
75+
"clean",
76+
"validate",
77+
]);
7278
await saveCache(
7379
["~/.ivy2/cache", "~/.ant/cache", "~/.m2", josmSource + "/tools"],
7480
`${process.platform}-${process.arch}-ivy-${ivyFiles}`,

0 commit comments

Comments
 (0)