1
0
Fork 0

Fix secrets reference syntax in README (#68)

pull/79/head
James M. Greene 2019-08-20 14:46:20 -05:00 committed by Danny McCormick
parent e2adf403d6
commit 00fc8b2580
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ core.setOutput('outputKey', 'outputVal');
#### Exporting variables/secrets #### Exporting variables/secrets
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 `{{ secret.FOO }}`. Secrets will also be masked from the logs: 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:
``` ```
const core = require('@actions/core'); const core = require('@actions/core');