title: Github Actions Functions on the console output
body: <p>Say I want to validate that my code doesn't contain the <code>foo</code> string. So I'm using the Linux <code>grep</code> tool and count the output lines with <code>wc -l</code>.</p>
  
  <p>Now I want to run a step only <a href="https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idif" rel="nofollow noreferrer"><code>if</code></a> the results of the <code>grep | wc -l</code> eqauls to <code>0</code>.</p>
  
  <p>How can I achieve that?</p>