mirror of https://github.com/actions/toolkit
Fix secrets reference syntax in README (#68)
parent
e2adf403d6
commit
00fc8b2580
|
@ -20,7 +20,7 @@ core.setOutput('outputKey', 'outputVal');
|
|||
|
||||
#### 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');
|
||||
|
|
Loading…
Reference in New Issue