mirror of https://github.com/actions/toolkit
Update docs/commands.md
Co-authored-by: JoannaaKL <joannaakl@github.com>pull/1430/head
parent
f481b8c8dc
commit
ae9272d5cb
|
@ -50,7 +50,7 @@ function setSecret(secret: string): void {}
|
|||
|
||||
Now, future logs containing BAR will be masked. E.g. running `echo "Hello FOO BAR World"` will now print `Hello FOO **** World`.
|
||||
|
||||
**WARNING** The add-mask and setSecret commands only support single-line
|
||||
**WARNING** The add-mask and setSecret commands only support single-line
|
||||
secrets or multi-line secrets that have been escaped. `@actions/core`
|
||||
`setSecret` will escape the string you provide by default. When an escaped
|
||||
multi-line string is provided the whole string and each of its lines
|
||||
|
|
Loading…
Reference in New Issue