Skip to content

Commit

Permalink
Merge branch 'master' into features/core
Browse files Browse the repository at this point in the history
  • Loading branch information
jclem committed May 21, 2019
2 parents 70a281f + 618a7ec commit 3bb3f36
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ action "Compile" {
action "Format" {
needs = "Dependencies"
uses = "actions/[email protected]"
args = "run format"
args = "run format-check"
}

action "Test" {
Expand Down
20 changes: 9 additions & 11 deletions docs/package-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,22 @@ export function debug(message: string): void
export function warning(message: string): void
export function error(message: string): void
/**
* Interface for exportVariable options
*/
export interface ExportOptions {
/** Optional. Whether the variable should be marked as secret (will be masked from logs). Defaults to false */
isSecret?: bool;
}
/**
* sets env variable for this action and future actions in the job
*
* @param name the name of the variable to set
* @param val the value of the variable
* @param options optional. See ExportOptions.
*/
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);
}
export function exportVariable(name: string, val: string, options?: ExportOptions): void
/**
* Interface for getInput options
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"build": "lerna run tsc",
"format": "prettier --check packages/**/*.ts",
"format": "prettier --write packages/**/*.ts",
"format-check": "prettier --check packages/**/*.ts",
"new-package": "scripts/create-package",
"test": "jest"
},
Expand Down

0 comments on commit 3bb3f36

Please sign in to comment.