title: How to pass the output of a bash command to Github Action parameter
body: <p>I have a workflow where after a push to master I want to create a release and upload an asset to it.
  <br/>I'm using <code>actions/create-release@v1</code> and <code>actions/upload-release-asset@v1</code>.</p>
  
  <p>I would like to pass the outputs of a bash commands to the action parameters. However I found out the syntax of "$(command)" does not work.</p>
  
  <p>How can I pass the output of a bash command to an action's parameter.</p>
  
  <p>For example I'd like to do something like this:</p>
  
  <pre><code>- name: Create Release
    id: create_release
    uses: actions/create-release@v1
    env:
      GITHUB_TOKEN: ${{ secrets.token }}
    with:
      tag_name: $(cat projectFile | grep -Po '(?&lt;=Version&gt;).*(?=&lt;/Version&gt;)')
  </code></pre>