Disable job output #120152
Unanswered
triple3567
asked this question in
Actions
Disable job output
#120152
Replies: 1 comment 1 reply
-
Hey, To disable the output of a GitHub Actions workflow job entirely, you can use the echo command with the ::add-mask:: function to mask the entire output. Here's how you can do it in your workflow YAML file:
Replace "Your command output" with the actual command or script output you want to mask. This will mask the entire output of the command, so only the fact that the command ran (indicating whether it passed or failed) will be visible in the job logs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Is there a way to disable a GitHub actions workflow job's output entirely? I know that the "::add-mask::" function exists, but I would like to mask the entire output of a job. We just need to know if the job passes or fails.
Beta Was this translation helpful? Give feedback.
All reactions