1
0
mirror of synced 2026-01-09 06:03:09 -05:00

Merge pull request #16275 from nikola-jokic/patch-4

Added explanation about masking outputs
This commit is contained in:
Ramya Parimi
2022-03-30 10:09:10 -05:00
committed by GitHub

View File

@@ -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