Emit deprecation warnings for derecated inputs

- Adds an upgrade-guide to assist with resolving deprecations
- Emit a warning when deprecated features are used
- List all deprecated features in Job Summary and link to upgrade guide
This commit is contained in:
daz
2024-04-09 10:51:09 -06:00
parent 2e02e6624e
commit 9d0de74673
7 changed files with 194 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ import {
DependencyGraphOption,
GradleExecutionConfig
} from '../input-params'
import {saveDeprecationState} from '../deprecation-collector'
/**
* The main entry point for the action, called by Github Actions for the step.
@@ -49,6 +50,8 @@ export async function run(): Promise<void> {
)
await dependencyGraph.complete(config)
saveDeprecationState()
} catch (error) {
core.setFailed(String(error))
if (error instanceof Error && error.stack) {