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

[bot] Update dist directory

parent 4a315dce
Loading
Loading
Loading
Loading
+14 −3
Changes for dist/dependency-submission/main/index.js: 14 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -144304,6 +144304,9 @@ class DependencyGraphConfig {
    getReportDirectory() {
        return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
    }
    getDownloadArtifactName() {
        return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
    }
    static constructJobCorrelator(workflow, jobId, matrixJson) {
        const matrixString = this.describeMatrix(matrixJson);
        const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
@@ -144741,7 +144744,7 @@ async function downloadAndSubmitDependencyGraphs(config) {
        return;
    }
    try {
        await submitDependencyGraphs(await downloadDependencyGraphs());
        await submitDependencyGraphs(await downloadDependencyGraphs(config));
    }
    catch (e) {
        warnOrFail(config, configuration_1.DependencyGraphOption.DownloadAndSubmit, e);
@@ -144773,7 +144776,7 @@ async function findAndUploadDependencyGraphs(config) {
    }
    await uploadDependencyGraphs(await findDependencyGraphFiles(), config);
}
async function downloadDependencyGraphs() {
async function downloadDependencyGraphs(config) {
    const findBy = github.context.payload.workflow_run
        ? {
            token: (0, configuration_1.getGithubToken)(),
@@ -144783,10 +144786,15 @@ async function downloadDependencyGraphs() {
        }
        : undefined;
    const artifactClient = new artifact_1.DefaultArtifactClient();
    const dependencyGraphArtifacts = (await artifactClient.listArtifacts({
    let dependencyGraphArtifacts = (await artifactClient.listArtifacts({
        latest: true,
        findBy
    })).artifacts.filter(artifact => artifact.name.startsWith(DEPENDENCY_GRAPH_PREFIX));
    const artifactName = config.getDownloadArtifactName();
    if (artifactName) {
        core.info(`Filtering for artifacts ending with ${artifactName}`);
        dependencyGraphArtifacts = dependencyGraphArtifacts.filter(artifact => artifact.name.includes(artifactName));
    }
    for (const artifact of dependencyGraphArtifacts) {
        const downloadedArtifact = await artifactClient.downloadArtifact(artifact.id, {
            findBy
@@ -144934,6 +144942,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.run = void 0;
const core = __importStar(__nccwpck_require__(42186));
const setupGradle = __importStar(__nccwpck_require__(18652));
const gradle = __importStar(__nccwpck_require__(94475));
const dependencyGraph = __importStar(__nccwpck_require__(80));
@@ -144945,6 +144954,7 @@ async function run() {
    try {
        (0, configuration_1.setActionId)('gradle/actions/dependency-submission');
        await setupGradle.setup(new configuration_1.CacheConfig(), new configuration_1.BuildScanConfig());
        const originallyEnabled = process.env['GITHUB_DEPENDENCY_GRAPH_ENABLED'];
        const config = new configuration_1.DependencyGraphConfig();
        await dependencyGraph.setup(config);
        if (config.getDependencyGraphOption() === configuration_1.DependencyGraphOption.DownloadAndSubmit) {
@@ -144963,6 +144973,7 @@ async function run() {
        const args = (0, string_argv_1.parseArgsStringToArgv)(executionArgs);
        await gradle.provisionAndMaybeExecute(executionConfig.getGradleVersion(), executionConfig.getBuildRootDirectory(), args);
        await dependencyGraph.complete(config);
        core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', originallyEnabled);
        (0, deprecation_collector_1.saveDeprecationState)();
    }
    catch (error) {
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+3
Changes for dist/dependency-submission/post/index.js: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -98279,6 +98279,9 @@ class DependencyGraphConfig {
    getReportDirectory() {
        return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
    }
    getDownloadArtifactName() {
        return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
    }
    static constructJobCorrelator(workflow, jobId, matrixJson) {
        const matrixString = this.describeMatrix(matrixJson);
        const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+11 −3
Changes for dist/setup-gradle/main/index.js: 11 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -144304,6 +144304,9 @@ class DependencyGraphConfig {
    getReportDirectory() {
        return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
    }
    getDownloadArtifactName() {
        return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
    }
    static constructJobCorrelator(workflow, jobId, matrixJson) {
        const matrixString = this.describeMatrix(matrixJson);
        const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
@@ -144741,7 +144744,7 @@ async function downloadAndSubmitDependencyGraphs(config) {
        return;
    }
    try {
        await submitDependencyGraphs(await downloadDependencyGraphs());
        await submitDependencyGraphs(await downloadDependencyGraphs(config));
    }
    catch (e) {
        warnOrFail(config, configuration_1.DependencyGraphOption.DownloadAndSubmit, e);
@@ -144773,7 +144776,7 @@ async function findAndUploadDependencyGraphs(config) {
    }
    await uploadDependencyGraphs(await findDependencyGraphFiles(), config);
}
async function downloadDependencyGraphs() {
async function downloadDependencyGraphs(config) {
    const findBy = github.context.payload.workflow_run
        ? {
            token: (0, configuration_1.getGithubToken)(),
@@ -144783,10 +144786,15 @@ async function downloadDependencyGraphs() {
        }
        : undefined;
    const artifactClient = new artifact_1.DefaultArtifactClient();
    const dependencyGraphArtifacts = (await artifactClient.listArtifacts({
    let dependencyGraphArtifacts = (await artifactClient.listArtifacts({
        latest: true,
        findBy
    })).artifacts.filter(artifact => artifact.name.startsWith(DEPENDENCY_GRAPH_PREFIX));
    const artifactName = config.getDownloadArtifactName();
    if (artifactName) {
        core.info(`Filtering for artifacts ending with ${artifactName}`);
        dependencyGraphArtifacts = dependencyGraphArtifacts.filter(artifact => artifact.name.includes(artifactName));
    }
    for (const artifact of dependencyGraphArtifacts) {
        const downloadedArtifact = await artifactClient.downloadArtifact(artifact.id, {
            findBy
Loading