From ae9272d5cbda0eae6e26ff14ccb0b7a6b98a6d3d Mon Sep 17 00:00:00 2001 From: Francesco Renzi Date: Thu, 25 May 2023 11:07:37 +0100 Subject: [PATCH] Update docs/commands.md Co-authored-by: JoannaaKL --- docs/commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/commands.md b/docs/commands.md index 5af0f319..15f18e84 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -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