mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Fail the build when arguments parameter is used
This commit is contained in:
1 file changed
+1
-1
@@ -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[] {
|
||||
|
||||
Reference in new issue
Block a user