1
0
Fork 0

Update command docs to specify a new line is needed (#171)

pull/177/head
Thomas Boop 2019-10-01 12:56:09 -04:00 committed by GitHub
parent 47ccfea021
commit 05b1b08f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ The [core toolkit package](https://github.com/actions/toolkit/tree/master/packag
setting results, logging, registering secrets and exporting variables across actions. Sometimes, however, its useful to be able to do setting results, logging, registering secrets and exporting variables across actions. Sometimes, however, its useful to be able to do
these things in a script or other tool. these things in a script or other tool.
To allow this, we provide a special `::` syntax which, if logged to `stdout`, will allow the runner to perform special behavior on To allow this, we provide a special `::` syntax which, if logged to `stdout` on a new line, will allow the runner to perform special behavior on
your commands. The following commands are all supported: your commands. The following commands are all supported:
### Set an environment variable ### Set an environment variable
@ -107,4 +107,4 @@ Finally, there are several commands to emit different levels of log output:
|---|---| |---|---|
| [debug](https://github.com/actions/toolkit/blob/master/docs/action-debugging.md) | `echo ::debug::My debug message` | | [debug](https://github.com/actions/toolkit/blob/master/docs/action-debugging.md) | `echo ::debug::My debug message` |
| warning | `echo ::warning::My warning message` | | warning | `echo ::warning::My warning message` |
| error | `echo ::error::My error message` | | error | `echo ::error::My error message` |