Documentation
¶
Overview ¶
Package input provides mechanisms for fetching type safe input from a GitHub Action.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool gets the boolean value of an actions input variable.
Specifically Bool supports:
true | True | TRUE | false | False | FALSE
If the variable is not defined, or if the value is not in the supported list, an error is returned.
func Float ¶
Float gets the float value of an actions input variable.
If the variable is not defined, or if the value is not a valid float, an error is returned.
func Get ¶
Get gets the value of an actions input variable.
It returns the string value of the variable (stripped of any leading and trailing whitespace) and a boolean which indicates whether it was defined.
func Int ¶
Int gets the integer value of an actions input variable.
If the variable is not defined, or if the value is not a valid integer, an error is returned.
Types ¶
This section is empty.