From 9df89b59d92f64f43192a24effe40b12b01cb01d Mon Sep 17 00:00:00 2001 From: Abe Winter Date: Thu, 14 Dec 2023 14:41:57 -0500 Subject: [PATCH] e2e build and wait working --- dist/index.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 22669d6..91539f2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26271,7 +26271,7 @@ function parseBuildId(stdout) { ref: getInput('ref'), }; if (!args.values['skip-login']) { - throw Error("TODO LOGIN"); + checkSpawnSync(spawnSync(cliPath, ['login', 'api-key', '--key-id', inputs.keyId, '--key', inputs.keyValue])); } console.log('I will run with', { ref: inputs.ref || '', diff --git a/src/index.js b/src/index.js index f8f6799..f2d0e9c 100644 --- a/src/index.js +++ b/src/index.js @@ -97,7 +97,7 @@ function parseBuildId(stdout) { ref: getInput('ref'), }; if (!args.values['skip-login']) { - throw Error("TODO LOGIN"); + checkSpawnSync(spawnSync(cliPath, ['login', 'api-key', '--key-id', inputs.keyId, '--key', inputs.keyValue])); } console.log('I will run with', { ref: inputs.ref || '',