mirror of
https://github.com/gradle/actions.git
synced 2025-11-26 17:09:10 +08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user