From 4ebc9007c095b796f0b3786a4c8683448a004a4c Mon Sep 17 00:00:00 2001 From: Bryan MacFarlane Date: Sat, 24 Aug 2019 09:17:35 -0400 Subject: [PATCH] removing not implemented function from docs --- packages/core/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index 2ad866ac..4520ce2d 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -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