Skip to content

Commit

Permalink
Fix secrets reference syntax in README (actions#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene authored and Danny McCormick committed Aug 20, 2019
1 parent e2adf40 commit 00fc8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 00fc8b2

Please sign in to comment.