Commit 9ab93ee8 authored by bigdaz's avatar bigdaz Committed by github-actions[bot]
Browse files

[bot] Update dist directory

parent d124ec14
Loading
Loading
Loading
Loading
+8 −4
Changes for dist/dependency-submission/main/index.js: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -144779,17 +144779,15 @@ async function submitDependencyGraphs(dependencyGraphFiles) {
        }
        catch (error) {
            if (error instanceof request_error_1.RequestError) {
                throw new Error(translateErrorMessage(dependencyGraphFile, error));
                error.message = translateErrorMessage(dependencyGraphFile, error);
            }
            else {
            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}`);
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+6
Changes for dist/dependency-submission/post/index.js: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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}`);
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+8 −4
Changes for dist/setup-gradle/main/index.js: 8 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -144779,17 +144779,15 @@ async function submitDependencyGraphs(dependencyGraphFiles) {
        }
        catch (error) {
            if (error instanceof request_error_1.RequestError) {
                throw new Error(translateErrorMessage(dependencyGraphFile, error));
                error.message = translateErrorMessage(dependencyGraphFile, error);
            }
            else {
            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.
@@ -145025,6 +145023,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));
@@ -145037,6 +145038,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}`);
Loading