Silent command

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-12 02:03:20 +02:00
parent 1886d9322f
commit 8e7bb4ab28
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

2
setup-qemu/dist/index.js generated vendored
View file

@ -1016,7 +1016,7 @@ function run() {
core.info(`💎 Installing QEMU static binaries...`); core.info(`💎 Installing QEMU static binaries...`);
yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
core.info('🛒 Extracting available platforms...'); 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) { if (res.stderr != '' && !res.success) {
throw new Error(res.stderr); throw new Error(res.stderr);
} }

View file

@ -21,7 +21,7 @@ async function run(): Promise<void> {
await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false); await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms], false);
core.info('🛒 Extracting available platforms...'); 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) { if (res.stderr != '' && !res.success) {
throw new Error(res.stderr); throw new Error(res.stderr);
} }