[bot] Update dist directory

This commit is contained in:
bigdaz
2024-04-19 16:25:39 +00:00
committed by github-actions[bot]
parent d124ec149f
commit 9ab93ee864
10 changed files with 44 additions and 20 deletions

View File

@@ -144779,17 +144779,15 @@ async function submitDependencyGraphs(dependencyGraphFiles) {
}
catch (error) {
if (error instanceof request_error_1.RequestError) {
throw new Error(translateErrorMessage(dependencyGraphFile, error));
}
else {
throw error;
error.message = translateErrorMessage(dependencyGraphFile, error);
}
throw error;
}
}
}
function translateErrorMessage(jsonFile, error) {
const relativeJsonFile = getRelativePathFromWorkspace(jsonFile);
const mainWarning = `Dependency submission failed for ${relativeJsonFile}.\n${String(error)}`;
const mainWarning = `Dependency submission failed for ${relativeJsonFile}.\n${error.message}`;
if (error.message === 'Resource not accessible by integration') {
return `${mainWarning}
Please ensure that the 'contents: write' permission is available for the workflow job.
@@ -145097,6 +145095,9 @@ function handleMainActionError(error) {
}
else if (error instanceof JobFailure) {
core.setFailed(String(error));
if (error.stack) {
core.info(error.stack);
}
}
else {
core.setFailed(String(error));
@@ -145109,6 +145110,9 @@ exports.handleMainActionError = handleMainActionError;
function handlePostActionError(error) {
if (error instanceof JobFailure) {
core.setFailed(String(error));
if (error.stack) {
core.info(error.stack);
}
}
else {
core.warning(`Unhandled error in Gradle post-action - job will continue: ${error}`);

File diff suppressed because one or more lines are too long

View File

@@ -96253,6 +96253,9 @@ function handleMainActionError(error) {
}
else if (error instanceof JobFailure) {
core.setFailed(String(error));
if (error.stack) {
core.info(error.stack);
}
}
else {
core.setFailed(String(error));
@@ -96265,6 +96268,9 @@ exports.handleMainActionError = handleMainActionError;
function handlePostActionError(error) {
if (error instanceof JobFailure) {
core.setFailed(String(error));
if (error.stack) {
core.info(error.stack);
}
}
else {
core.warning(`Unhandled error in Gradle post-action - job will continue: ${error}`);

File diff suppressed because one or more lines are too long