1
0
Fork 0

spec update

pull/4/head
Bryan MacFarlane 2019-05-17 10:38:16 -04:00
parent aa10eecbb0
commit 2e729086fa
2 changed files with 20 additions and 0 deletions

View File

@ -21,6 +21,16 @@ export function error(message: string): void
*/ */
export function exportVariable(name: string, val: string): void export function exportVariable(name: string, val: string): void
/**
* exports the variable and registers a secret which will get masked from logs
* @param name the name of the variable to set
* @param val value of the secret
*/
export function exportSecret(name: string, val: string) {
exportVariable(name, val);
intm._issueCommand('set-secret', {}, val);
}
/** /**
* Interface for getInput options * Interface for getInput options
*/ */

View File

@ -19,6 +19,16 @@ export function error(message: string): void
*/ */
export function exportVariable(name: string, val: string): void export function exportVariable(name: string, val: string): void
/**
* exports the variable and registers a secret which will get masked from logs
* @param name the name of the variable to set
* @param val value of the secret
*/
export function exportSecret(name: string, val: string) {
exportVariable(name, val);
intm._issueCommand('set-secret', {}, val);
}
/** /**
* Interface for getInput options * Interface for getInput options
*/ */