1
0
Fork 0

Update Save State Docs (#467)

* Update Save State Docs
pull/486/head
Thomas Boop 2020-05-27 10:40:32 -04:00 committed by GitHub
parent c94bc40d84
commit 9ba7c679ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -114,12 +114,14 @@ echo "::remove-matcher owner=eslint-compact::"
`remove-matcher` removes a Problem Matcher by owner
### Save State
Save state to be used in the corresponding wrapper (finally) post job entry point.
Save a state to an environmental variable that can later be used in the main or post action.
```bash
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.
### Log Level
There are several commands to emit different levels of log output: