mirror of https://github.com/actions/setup-go.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
631 B
TypeScript
30 lines
631 B
TypeScript
6 years ago
|
/**
|
||
|
* The code to exit an action
|
||
|
*/
|
||
|
export declare enum ExitCode {
|
||
|
/**
|
||
|
* A code indicating that the action was successful
|
||
|
*/
|
||
|
Success = 0,
|
||
|
/**
|
||
|
* A code indicating that the action was a failure
|
||
|
*/
|
||
|
Failure = 1,
|
||
|
/**
|
||
|
* A code indicating that the action is complete, but neither succeeded nor failed
|
||
|
*/
|
||
|
Neutral = 78
|
||
|
}
|
||
|
/**
|
||
|
* Exit the action as a success.
|
||
|
*/
|
||
|
export declare function success(): void;
|
||
|
/**
|
||
|
* Exit the action as a failure.
|
||
|
*/
|
||
|
export declare function failure(): void;
|
||
|
/**
|
||
|
* Exit the action neither a success or a failure
|
||
|
*/
|
||
|
export declare function neutral(): void;
|