mirror of https://github.com/actions/toolkit
parent
c94bc40d84
commit
9ba7c679ad
|
@ -114,12 +114,14 @@ echo "::remove-matcher owner=eslint-compact::"
|
||||||
`remove-matcher` removes a Problem Matcher by owner
|
`remove-matcher` removes a Problem Matcher by owner
|
||||||
### Save State
|
### 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
|
```bash
|
||||||
echo "::save-state name=FOO::foovalue"
|
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
|
### Log Level
|
||||||
|
|
||||||
There are several commands to emit different levels of log output:
|
There are several commands to emit different levels of log output:
|
||||||
|
|
Loading…
Reference in New Issue