From 8e7bb4ab28a97b1a179b668aef7887d255c246fa Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 12 Aug 2020 02:03:20 +0200 Subject: [PATCH] Silent command Signed-off-by: CrazyMax --- setup-qemu/dist/index.js | 2 +- setup-qemu/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup-qemu/dist/index.js b/setup-qemu/dist/index.js index 2ac77ba..a5f62b2 100644 --- a/setup-qemu/dist/index.js +++ b/setup-qemu/dist/index.js @@ -1016,7 +1016,7 @@ function run() { core.info(`💎 Installing QEMU static binaries...`); yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); core.info('🛒 Extracting available platforms...'); - yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => { + yield exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => { if (res.stderr != '' && !res.success) { throw new Error(res.stderr); } diff --git a/setup-qemu/src/main.ts b/setup-qemu/src/main.ts index 7c7decc..2b2ede9 100644 --- a/setup-qemu/src/main.ts +++ b/setup-qemu/src/main.ts @@ -21,7 +21,7 @@ async function run(): Promise { await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); core.info('🛒 Extracting available platforms...'); - await exec.exec(`docker`, ['run', '--rm', '--privileged', image], false).then(res => { + await exec.exec(`docker`, ['run', '--rm', '--privileged', image], true).then(res => { if (res.stderr != '' && !res.success) { throw new Error(res.stderr); }