mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-03-15 16:22:35 +08:00
Remove neutral exit code references
This commit is contained in:
@@ -22,12 +22,7 @@ export enum ExitCode {
|
||||
/**
|
||||
* 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
|
||||
Failure = 1
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
@@ -94,13 +89,6 @@ export function setOutput(name: string, value: string): void {
|
||||
// Results
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Sets the action status to neutral
|
||||
*/
|
||||
export function setNeutral(): void {
|
||||
process.exitCode = ExitCode.Neutral
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the action status to failed.
|
||||
* When the action exits it will be with an exit code of 1
|
||||
|
||||
Reference in New Issue
Block a user