add set-output command
This commit is contained in:
1 parent
e3778dff5b
commit
114d07bdd6
2 files changed
+15
No files matched your search
+10
@@ -61,6 +61,16 @@ export function getInput(name: string, options?: InputOptions): string {
|
||||
return val.trim()
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of an output.
|
||||
*
|
||||
* @param name name of the output to set
|
||||
* @param value value to store
|
||||
*/
|
||||
export function setOutput(name: string, value: string): void {
|
||||
issueCommand('set-output', {'name': name}, value)
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
// Results
|
||||
//-----------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user