Merge pull request #16275 from nikola-jokic/patch-4
Added explanation about masking outputs
This commit is contained in:
@@ -309,7 +309,7 @@ jobs:
|
||||
::add-mask::{value}
|
||||
```
|
||||
|
||||
Masking a value prevents a string or variable from being printed in the log. Each masked word separated by whitespace is replaced with the `*` character. You can use an environment variable or string for the mask's `value`.
|
||||
Masking a value prevents a string or variable from being printed in the log. Each masked word separated by whitespace is replaced with the `*` character. You can use an environment variable or string for the mask's `value`. When you mask a value, it is treated as a secret and will be redacted on the runner. For example, after you mask a value, you won't be able to set that value as an output.
|
||||
|
||||
### Example: Masking a string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user