Skip to content

Commit

Permalink
Merge pull request actions#626 from edburns/patch-1
Browse files Browse the repository at this point in the history
Explain to the ignorant reader where this `STATE_` prefix comes from.
  • Loading branch information
dhadka authored Nov 5, 2020
2 parents 5e5e1b7 + 0b69311 commit e7eb2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Save a state to an environmental variable that can later be used in the main or
echo "::save-state name=FOO::foovalue"
```

An environmental variable named `STATE_FOO` will be available to use in the post or main action. See [Sending Values to the pre and post actions](https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#sending-values-to-the-pre-and-post-actions) for more information.
Because `save-state` prepends the string `STATE_` to the name, the environment variable `STATE_FOO` will be available to use in the post or main action. See [Sending Values to the pre and post actions](https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#sending-values-to-the-pre-and-post-actions) for more information.

### Log Level

Expand Down

0 comments on commit e7eb2c7

Please sign in to comment.