1
0
Fork 0

removing not implemented function from docs

pull/83/head
Bryan MacFarlane 2019-08-24 09:17:35 -04:00
parent f66f5629b3
commit 4ebc9007c0
1 changed files with 2 additions and 3 deletions

View File

@ -18,9 +18,9 @@ const myInput = core.getInput('inputName', { required: true });
core.setOutput('outputKey', 'outputVal');
```
#### Exporting variables/secrets
#### Exporting variables
You can also export variables and secrets for future steps. Variables get set in the environment automatically, while secrets must be scoped into the environment from a workflow using `${{ secrets.FOO }}`. Secrets will also be masked from the logs:
You can also export variables for future steps. Variables get set in the environment.
```js
const core = require('@actions/core');
@ -28,7 +28,6 @@ const core = require('@actions/core');
// Do stuff
core.exportVariable('envVar', 'Val');
core.exportSecret('secretVar', variableWithSecretValue);
```
#### PATH Manipulation