title: Output from GitHub action is empty
body: <p>I'm creating my first GitHub action and I can't figure out why the output is empty.</p>
  <p><strong>action.yml</strong></p>
  <pre class="lang-yaml prettyprint-override"><code>name: &quot;Run Endtest functional tests&quot;
  description: &quot;Register a deployment event with Endtest and run the functional tests&quot;
  branding:
    icon: play-circle
    color: white
  inputs:
    app_id:
      description: 'The Endtest App ID for your account. You can get it from the https://endtest.io/settings page.'
      required: true
    app_code:
      description: 'The Endtest App Code for your account. You can get it from the https://endtest.io/settings page.'
      required: true
    api_request:
      description: 'The Endtest API request for starting the test execution.'
      required: true
    number_of_loops:
      description: 'The number of times the API request for fetching the results will be sent once every 30 seconds.'
      required: true
  
  outputs:
    test_suite_name:
      description: &quot;The name of the test suite&quot;
    configuration:
      description: &quot;The configuration of the machine or mobile device on which the test was executed&quot;
    test_cases:
      description: &quot;The number of test cases&quot;
    passed:
      description: &quot;The number of assertions that have passed&quot;
    failed:
      description: &quot;The number of assertions that have failed&quot;
    errors:
      description: &quot;The number of errors that have been encountered&quot;
    start_time:
      description: &quot;The timestamp for the start of the test execution.&quot;
    end_time:
      description: &quot;The timestamp for the end of the test execution.&quot;
    #detailed_logs:
      #description: &quot;The detailed logs for the test execution&quot;
    #screenshots_and_video:
      #description: &quot;The URLs for the screenshts and video recordings of the test execution&quot;
  
  runs:
    using: &quot;composite&quot;
    steps:
      - run: sudo apt-get install jq
        shell: bash 
      - run: sudo chmod +x ${{ github.action_path }}/test.sh
        shell: bash 
      - run: echo &quot;${{ inputs.api_request }}&quot;
        shell: bash 
      - run: ${{ github.action_path }}/test.sh ${{ inputs.app_id }} ${{ inputs.app_code }} &quot;${{ inputs.api_request }}&quot; ${{ inputs.number_of_loops }} 
        shell: bash
  </code></pre>
  <p><strong>test.sh</strong></p>
  <pre class="lang-sh prettyprint-override"><code>#!/bin/bash
  set -e
  hash=$(curl -X GET --header &quot;Accept: */*&quot; &quot;${3}&quot;)
  for run in {1..&quot;${4}&quot;}
  do
    sleep 30
    result=$(curl -X GET --header &quot;Accept: */*&quot; &quot;https://endtest.io/api.php?action=getResults&amp;appId=${1}&amp;appCode=${2}&amp;hash=${hash}&amp;format=json&quot;)
    if [ &quot;$result&quot; == &quot;Test is still running.&quot; ]
    then
      status=$result
      # Don't print anything
    elif [ &quot;$result&quot; == &quot;Processing video recording.&quot; ]
    then
      status=$result
      # Don't print anything
    elif [ &quot;$result&quot; == &quot;Stopping.&quot; ]
    then
      status=$result
    elif [ &quot;$result&quot; == &quot;Erred.&quot; ]
    then
      status=$result
      echo $status
    elif [ &quot;$result&quot; == &quot;&quot; ]
    then
      status=$result
      # Don't print anything
    else
       testsuitename=$( echo &quot;$result&quot; | jq '.test_suite_name' )
       configuration=$( echo &quot;$result&quot; | jq '.configuration' )
       testcases=$( echo &quot;$result&quot; | jq '.test_cases' )
       passed=$( echo &quot;$result&quot; | jq '.passed' )
       failed=$( echo &quot;$result&quot; | jq '.failed' )
       errors=$( echo &quot;$result&quot; | jq '.errors' )
       #detailedlogs=$( echo &quot;$result&quot; | jq '.detailed_logs' )
       #screenshotsandvideo=$( echo &quot;$result&quot; | jq '.screenshots_and_video' )
       starttime=$( echo &quot;$result&quot; | jq '.start_time' )
       endtime=$( echo &quot;$result&quot; | jq '.end_time' )   
       
       echo $testsuitename
       echo $configuration
       echo $testcases
       echo $passed
       echo $failed
       echo $errors
       echo $starttime
       echo $endtime
       
       echo &quot;::set-output name=test_suite_name::$testsuitename&quot;
       echo &quot;::set-output name=configuration::$configuration&quot;
       echo &quot;::set-output name=test_cases::$testcases&quot;
       echo &quot;::set-output name=passed::$passed&quot;
       echo &quot;::set-output name=failed::$failed&quot;
       echo &quot;::set-output name=errors::$errors&quot;
       echo &quot;::set-output name=start_time::$starttime&quot;
       echo &quot;::set-output name=end_time::$endtime&quot;
       #echo &quot;::set-output name=detailed_logs::$detailedlogs&quot;
       #echo &quot;::set-output name=screenshots_and_video::$screenshotsandvideo&quot;
       exit 0
    fi
  done
  exit
  </code></pre>
  <p>I've published that action on the GitHub Marketplace and I'm trying to use it / test it from another repository like this:</p>
  <p><strong>main.yml</strong></p>
  <pre class="lang-yaml prettyprint-override"><code>name: CI
  
  on:
    push:
      branches: [ master ]
    pull_request:
      branches: [ master ]
  
  jobs:
    build:
      runs-on: ubuntu-latest
      steps:
        - uses: actions/checkout@v2
        - name: Run a one-line script
          run: echo Hello, world!
          
        - name: Run Endtest functional tests
          id: endtest_functional_tests
          uses: endtest-technologies/github-run-tests-action@v1.3.0.0.3
          with:
            app_id: &quot;85205402&quot;
            app_code: &quot;79973826&quot;
            api_request: &quot;https://endtest.io/api.php?action=runTestSuite&amp;appId=85205402&amp;appCode=79973826&amp;testSuite=106877&amp;selectedPlatform=windows&amp;selectedOs=a&amp;selectedBrowser=chrome&amp;selectedResolution=d&amp;selectedLocation=sanfrancisco&amp;selectedCases=491130&amp;writtenAdditionalNotes=&quot;
            number_of_loops: 6
            
        - name: Get the test suite name output
          run: echo &quot;${{ steps.endtest_functional_tests.outputs.test_suite_name }}&quot;
          
        - name: Get the configuration output
          run: echo &quot;${{ steps.endtest_functional_tests.outputs.configuration }}&quot;
  
        
        - name: Get multiple outputs
          run: |
            echo &quot;${{ steps.endtest_functional_tests.outputs.test_suite_name }}&quot;
            echo &quot;${{ steps.endtest_functional_tests.outputs.configuration }}&quot;
  </code></pre>
  <p>Looking at the logs from the build. I can see that my action is successfully called, the API request starts, I can see the output which is printed out until the part with <code>::set-output</code>.</p>
  <p>And the outputs generated by my GitHub action are empty.</p>
  <p><img src="https://i.stack.imgur.com/sWnIp.png" alt="build output" /></p>
  <p>I would really appreciate some help on this one, since I've been trying to make it work for the last 2 days.</p>
  <p>From what I read, it should be possible to use the <code>::set-output</code> from a .sh file, like this person did in this <a href="https://www.philschmid.de/create-custom-github-action-in-4-steps" rel="nofollow noreferrer">article</a>.</p>