mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-05 18:20:41 +08:00
Update docs/commands.md
Co-authored-by: JoannaaKL <joannaakl@github.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user