mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-07 14:19:01 +08:00
Describe behaviour of getInput (#808)
This commit is contained in:
parent
f915ace085
commit
3bd746139f
@ -78,7 +78,9 @@ export function addPath(inputPath: string): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the value of an input. The value is also trimmed.
|
* Gets the value of an input.
|
||||||
|
* Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.
|
||||||
|
* Returns an empty string if the value is not defined.
|
||||||
*
|
*
|
||||||
* @param name name of the input to get
|
* @param name name of the input to get
|
||||||
* @param options optional. See InputOptions.
|
* @param options optional. See InputOptions.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user