setSecret (#174)

* setSecret
This commit is contained in:
Bryan MacFarlane authored and GitHub committed 2019-10-01 17:13:05 -04:00
1 parent 82acbdc69f
commit 49dd720622
5 files changed
+17 -43

No files matched your search

+4 -2
View File
@@ -32,10 +32,12 @@ Since each step runs in a separate process, you can use `exportVariable` to add
core.exportVariable('envVar', 'Val');
```
Exporting a secret exports the variable but also registers the secret with the runner to ensure it is masked in logs.
#### Setting a secret
Setting a secret registers the secret with the runner to ensure it is masked in logs.
```js
core.exportSecret('myPassword', mypass);
core.setSecret('myPassword');
```
#### PATH Manipulation