1
0
Fork 0

Merge pull request #626 from edburns/patch-1

Explain to the ignorant reader where this `STATE_` prefix comes from.
pull/627/head
David Hadka 2020-11-05 08:15:00 -06:00 committed by GitHub
commit e7eb2c7418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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