diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index b3244cd..acc8a9b 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -74452,11 +74452,11 @@ exports.setUpNativeImageBuildReports = setUpNativeImageBuildReports; function generateReports() { return __awaiter(this, void 0, void 0, function* () { if (areJobReportsEnabled() || arePRReportsEnabled()) { + core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`); if (!fs.existsSync(BUILD_OUTPUT_JSON_PATH)) { core.warning('Unable to find build output data to create a report. Are you sure this build job has used GraalVM Native Image?'); return; } - core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`); const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const treeSha = yield (0, utils_1.createTree)(JSON.stringify(buildOutput)); yield (0, utils_1.createRef)(treeSha); diff --git a/dist/main/index.js b/dist/main/index.js index 324b84e..b3dc608 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -74551,11 +74551,11 @@ exports.setUpNativeImageBuildReports = setUpNativeImageBuildReports; function generateReports() { return __awaiter(this, void 0, void 0, function* () { if (areJobReportsEnabled() || arePRReportsEnabled()) { + core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`); if (!fs.existsSync(BUILD_OUTPUT_JSON_PATH)) { core.warning('Unable to find build output data to create a report. Are you sure this build job has used GraalVM Native Image?'); return; } - core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`); const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const treeSha = yield (0, utils_1.createTree)(JSON.stringify(buildOutput)); yield (0, utils_1.createRef)(treeSha); diff --git a/src/features/reports.ts b/src/features/reports.ts index d824da3..0c680cf 100644 --- a/src/features/reports.ts +++ b/src/features/reports.ts @@ -117,13 +117,13 @@ export async function setUpNativeImageBuildReports( export async function generateReports(): Promise { if (areJobReportsEnabled() || arePRReportsEnabled()) { + core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`) if (!fs.existsSync(BUILD_OUTPUT_JSON_PATH)) { core.warning( 'Unable to find build output data to create a report. Are you sure this build job has used GraalVM Native Image?' ) return } - core.info(`DEBUGGING: ${BUILD_OUTPUT_JSON_PATH}`) const buildOutput: BuildOutput = JSON.parse( fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8') )