Loading sources/src/dependency-submission/main.ts +7 Changes for sources/src/dependency-submission/main.ts: 7 added lines, 0 removed lines. Original line number Diff line number Diff line import * as core from '@actions/core' import * as setupGradle from '../setup-gradle' import * as gradle from '../execution/gradle' import * as dependencyGraph from '../dependency-graph' Loading @@ -24,6 +25,9 @@ export async function run(): Promise<void> { // Configure Gradle environment (Gradle User Home) await setupGradle.setup(new CacheConfig(), new BuildScanConfig()) // Capture the enabled state of dependency-graph const originallyEnabled = process.env['GITHUB_DEPENDENCY_GRAPH_ENABLED'] // Configure the dependency graph submission const config = new DependencyGraphConfig() await dependencyGraph.setup(config) Loading Loading @@ -53,6 +57,9 @@ export async function run(): Promise<void> { await dependencyGraph.complete(config) // Reset the enabled state of dependency graph core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', originallyEnabled) saveDeprecationState() } catch (error) { handleMainActionError(error) Loading Loading
sources/src/dependency-submission/main.ts +7 Changes for sources/src/dependency-submission/main.ts: 7 added lines, 0 removed lines. Original line number Diff line number Diff line import * as core from '@actions/core' import * as setupGradle from '../setup-gradle' import * as gradle from '../execution/gradle' import * as dependencyGraph from '../dependency-graph' Loading @@ -24,6 +25,9 @@ export async function run(): Promise<void> { // Configure Gradle environment (Gradle User Home) await setupGradle.setup(new CacheConfig(), new BuildScanConfig()) // Capture the enabled state of dependency-graph const originallyEnabled = process.env['GITHUB_DEPENDENCY_GRAPH_ENABLED'] // Configure the dependency graph submission const config = new DependencyGraphConfig() await dependencyGraph.setup(config) Loading Loading @@ -53,6 +57,9 @@ export async function run(): Promise<void> { await dependencyGraph.complete(config) // Reset the enabled state of dependency graph core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', originallyEnabled) saveDeprecationState() } catch (error) { handleMainActionError(error) Loading