Display available platforms

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-14 19:49:19 +02:00
parent 46bf3297bf
commit ee3946b77e
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 8 additions and 2 deletions

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

@ -1021,6 +1021,7 @@ function run() {
throw new Error(res.stderr);
}
const platforms = JSON.parse(res.stdout.trim());
core.info(`${platforms.supported.join(',')}`);
core.setOutput('platforms', platforms.supported.join(','));
});
}

View file

@ -26,6 +26,7 @@ async function run(): Promise<void> {
throw new Error(res.stderr);
}
const platforms: Platforms = JSON.parse(res.stdout.trim());
core.info(`${platforms.supported.join(',')}`);
core.setOutput('platforms', platforms.supported.join(','));
});
} catch (error) {