Skip to content

Commit 0ae4e95

Browse files
run npm build
1 parent 9f83b49 commit 0ae4e95

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

dist/index.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -43073,8 +43073,12 @@ async function run() {
4307343073
throw new Error("Either API key or OIDC inputs (namespace and service account slug) must be provided for authentication.");
4307443074
}
4307543075

43076-
// Install the CLI
43077-
await installCli();
43076+
// Install the CLI only if oidc-auth-only is false
43077+
const oidcAuthOnly = core.getBooleanInput('oidc-auth-only');
43078+
if (!oidcAuthOnly) {
43079+
await installCli();
43080+
}
43081+
4307843082
} catch (error) {
4307943083
core.setFailed(`Action failed: ${error.message}`);
4308043084
}

0 commit comments

Comments
 (0)