Fix build #1058
Annotations
1 error
|
Boost B2 Workflow
B2 Workflow failed: B2 build failed with exit code 1
Stack trace:
at main
../../_actions/alandefreitas/cpp-actions/v1.9.3/b2-workflow/src/index.ts:318:19
313 │ const { exitCode } = await exec.getExecOutput(`"${b2_path}"`, b2_args, {
314 │ cwd: inputs.source_dir,
315 │ ignoreReturnCode: true
316 │ });
317 │ if (exitCode !== 0) {
❯ 318 │ throw new Error(`B2 build failed with exit code ${exitCode}`);
319 │ }
320 │ }
321 │ core.endGroup();
322 │ }
323 │
at main
../../_actions/alandefreitas/cpp-actions/v1.9.3/b2-workflow/src/index.ts:417:9
412 │ inputsSchema,
413 │ outputsSchema,
414 │ title: 'B2 Workflow',
415 │ main: async (rawInputs: RawInputs) => {
416 │ const inputs = convertRawInputs(rawInputs);
❯ 417 │ await main(inputs);
418 │ return {};
419 │ },
420 │ callerModule: module
421 │ });
422 │
at run
../../_actions/alandefreitas/cpp-actions/v1.9.3/common/action-schema/src/runner.ts:81:25
76 │ core.startGroup('📥 Action Inputs');
77 │ gh_inputs.printInputObject(inputs as unknown as Record<string, unknown>);
78 │ core.endGroup();
79 │
80 │ // Run main action logic
❯ 81 │ const outputs = await main(inputs);
82 │
83 │ // Validate outputs if validator provided
84 │ if (validateOutputs && !validateOutputs(outputs)) {
85 │ core.setFailed(failureMessage ?? `${title} failed: output validation failed`);
86 │ return;
at anonymous
../../_actions/alandefreitas/cpp-actions/v1.9.3/common/action-schema/src/runner.ts:162:13
157 │
158 │ const run = createActionRunner({ ...runnerOptions, title });
159 │
160 │ (async () => {
161 │ try {
❯ 162 │ await run();
163 │ } catch (error) {
164 │ await reportAndSetFailed(error as Error, {
165 │ title: `${title} failed`
166 │ });
167 │ }
⚠ Tip: enable trace-commands (INPUT_TRACE_COMMANDS=true) for more logs.
|
Loading