mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
Fail the build when arguments
parameter is used
This commit is contained in:
parent
81b4ac7741
commit
fae6382622
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ export function recordDeprecation(message: string): void {
|
|||
|
||||
export function failOnUseOfRemovedFeature(removalMessage: string, deprecationMessage: string = removalMessage): void {
|
||||
const deprecation = new Deprecation(deprecationMessage)
|
||||
core.error(`${removalMessage}. See ${deprecation.getDocumentationLink()}`)
|
||||
core.setFailed(`${removalMessage}. See ${deprecation.getDocumentationLink()}`)
|
||||
}
|
||||
|
||||
export function getDeprecations(): Deprecation[] {
|
||||
|
|
Loading…
Reference in a new issue