Enhance console output

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-05-26 14:26:33 +02:00
parent 74242a33cc
commit 57f367c048
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
3 changed files with 0 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

2
dist/index.js generated vendored
View File

@ -2530,10 +2530,8 @@ function run() {
} }
stateHelper.setTmpDir(context.tmpDir()); stateHelper.setTmpDir(context.tmpDir());
const buildxVersion = yield buildx.getVersion(); const buildxVersion = yield buildx.getVersion();
core.info(`Using buildx ${buildxVersion}`);
const defContext = context.defaultContext(); const defContext = context.defaultContext();
let inputs = yield context.getInputs(defContext); let inputs = yield context.getInputs(defContext);
core.info(`Building...`);
const args = yield context.getArgs(inputs, defContext, buildxVersion); const args = yield context.getArgs(inputs, defContext, buildxVersion);
yield exec.exec('docker', args).then(res => { yield exec.exec('docker', args).then(res => {
if (res.stderr != '' && !res.success) { if (res.stderr != '' && !res.success) {

View File

@ -19,12 +19,9 @@ async function run(): Promise<void> {
stateHelper.setTmpDir(context.tmpDir()); stateHelper.setTmpDir(context.tmpDir());
const buildxVersion = await buildx.getVersion(); const buildxVersion = await buildx.getVersion();
core.info(`Using buildx ${buildxVersion}`);
const defContext = context.defaultContext(); const defContext = context.defaultContext();
let inputs: context.Inputs = await context.getInputs(defContext); let inputs: context.Inputs = await context.getInputs(defContext);
core.info(`Building...`);
const args: string[] = await context.getArgs(inputs, defContext, buildxVersion); const args: string[] = await context.getArgs(inputs, defContext, buildxVersion);
await exec.exec('docker', args).then(res => { await exec.exec('docker', args).then(res => {
if (res.stderr != '' && !res.success) { if (res.stderr != '' && !res.success) {