Revert "Provide default config values for dependency-submission"

This reverts commit b7ef93c7b7.
This commit is contained in:
daz
2024-04-07 11:54:02 -06:00
parent e40c718900
commit 627fa7627c
4 changed files with 41 additions and 40 deletions

View File

@@ -19,12 +19,9 @@ export async function run(): Promise<void> {
// Configure the dependency graph submission
const config = new DependencyGraphConfig()
config.artifactRetentionDays = 1
config.continueOnFailure = false
await dependencyGraph.setup(config)
if (config.dependencyGraphOption === DependencyGraphOption.DownloadAndSubmit) {
if (config.getDependencyGraphOption() === DependencyGraphOption.DownloadAndSubmit) {
// No execution to perform
return
}
@@ -43,6 +40,7 @@ export async function run(): Promise<void> {
`
const args: string[] = parseArgsStringToArgv(executionArgs)
core.info(args.join('!!!'))
const buildRootDirectory = layout.buildRootDirectory()
await execution.executeGradleBuild(executable, buildRootDirectory, args)
} catch (error) {