title: Publish unit test results on GitHub for all matrix build versions
body: <p>Currently, I'm trying to understand a (Java JUnit) test failure on a project, which only appears occasionally and on different JVM versions. To speed up examination of the failure, I am trying to get the test reports automatic on GitHub actions with a matrix build, but I did not find a way to do so.</p>
  <p>I tried two plugins, action-surefire-report (<a href="https://github.com/ScaCap/action-surefire-report" rel="nofollow noreferrer">https://github.com/ScaCap/action-surefire-report</a>) and publish-unit-test-results (<a href="https://github.com/marketplace/actions/publish-unit-test-results" rel="nofollow noreferrer">https://github.com/marketplace/actions/publish-unit-test-results</a>).</p>
  <p>With the <code>action-surefire-report</code>, I tried to set the name or other properties:</p>
  <pre><code>- name: Publish Test Report ${{ matrix.java }}
    if: ${{ always() }}
    uses: scacap/action-surefire-report@v1
    with:
       github_token: ${{ secrets.GITHUB_TOKEN }}
  </code></pre>
  <p>Unfortunately, no try resulted in publishing reports of more than one JVM.</p>
  <p>For publish-unit-test-results, which contains an example of publishing python test results by downloading artifacts of the same build, I tried to copy this behavior:</p>
  <pre><code>  publish-test-results:
      name: &quot;Publish Unit Tests Results&quot;
      needs: build
      runs-on: ubuntu-latest
      if: success() || failure()
      steps:
      - name: Download Artifacts
        uses: actions/download-artifact@v2
        with:
          path: artifacts
      - name: Publish Unit Test Results
        uses: EnricoMi/publish-unit-test-result-action@v1
        with:
          check_name: Unit Test Results
          files: &quot;target/surefire-reports/*.xml&quot;
  </code></pre>
  <p>This fails, apparently since I cannot name the concrete xml-files of the test report.</p>
  <p>The example code can be found on <a href="https://github.com/DaGeRe/multiple-version-publish-test-results" rel="nofollow noreferrer">GitHub</a></p>
  <p>Is it possible to get a test report for each JVM version of my current build? Since this is a pretty standard task to get test results for JUnit runs, I would have assumed that something like this is already implemented somewhere, and I am just not finding the documentation.</p>