mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-01-03 15:32:54 +08:00
Fix secrets reference syntax in README (#68)
This commit is contained in:
parent
e2adf403d6
commit
00fc8b2580
@ -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');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user