Disable job output #120152
Replies: 2 comments 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.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
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