Running multiple jdk in github action

Here is an example to show how multiple jdk run in one github action. And generate artifacts as test results

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        java: ["8", "11", "13", "14"]
    name: Java $ sample
    steps:

And to see how it looks in build, check any build in https://github.com/ozkanpakdil/eclipse-collections-benchmark/actions