Log to google for GCP_LOGGING
parent
b26488af8e
commit
526da2841f
|
|
@ -54,6 +54,7 @@ const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
|
|||
function runMain() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
cloud_runner_logger_1.default.InitHook();
|
||||
model_1.Action.checkCompatibility();
|
||||
model_1.Cache.verify();
|
||||
const { dockerfile, workspace, actionFolder } = model_1.Action;
|
||||
|
|
@ -77,7 +78,6 @@ function runMain() {
|
|||
}
|
||||
});
|
||||
}
|
||||
cloud_runner_logger_1.default.InitHook();
|
||||
const options = cli_1.CLI.SetupCli();
|
||||
if (cli_1.CLI.isCliMode(options)) {
|
||||
cli_1.CLI.RunCli(options);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -4,6 +4,8 @@ import { CLI } from './model/cli/cli';
|
|||
import CloudRunnerLogger from './model/cloud-runner/services/cloud-runner-logger';
|
||||
async function runMain() {
|
||||
try {
|
||||
CloudRunnerLogger.InitHook();
|
||||
|
||||
Action.checkCompatibility();
|
||||
Cache.verify();
|
||||
|
||||
|
|
@ -29,7 +31,6 @@ async function runMain() {
|
|||
core.setFailed((error as Error).message);
|
||||
}
|
||||
}
|
||||
CloudRunnerLogger.InitHook();
|
||||
const options = CLI.SetupCli();
|
||||
if (CLI.isCliMode(options)) {
|
||||
CLI.RunCli(options);
|
||||
|
|
|
|||
Loading…
Reference in New Issue