name: "Build Gradle project"
on: [push, workflow_dispatch]

jobs:
    build:
        runs-on: ubuntu-latest
        strategy:
            matrix:
                java-version: [ 8, 11, 16, 17 ]
                gradle-version: [ 6.9.3, 7.0.2, 7.2, 7.3.3, 7.5.1 ]
        name: Test JVM/Gradle (${{ matrix.java-version }}, ${{ matrix.gradle-version }})
        steps:
            - name: Check out project
              uses: actions/checkout@v2
            - name: Set up JDK 11
              uses: actions/setup-java@v1
              with:
                  java-version: 11
            - name: Setup Gradle
              uses: gradle/gradle-build-action@v2
            - name: Build with Gradle
              run: ./gradlew clean build -PtestJavaRuntimeVersion=${{ matrix.java-version }} -PtestGradleVersion=${{ matrix.gradle-version }}
              env:
                  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

name: "Build Gradle project"
on: [push, workflow_dispatch]

jobs:
    build:
        name: Test JVM/Gradle (${{ matrix.java-version }}, ${{ matrix.gradle-version }})
        runs-on: ubuntu-latest
        strategy:
            matrix:
                java-version: [ 8, 11, 16, 17 ]
                gradle-version: [ 6.9.3, 7.0.2, 7.2, 7.3.3, 7.5.1 ]
        steps:
            - name: Check out project
              uses: actions/checkout@v2
            - name: Set up JDK 11
              uses: actions/setup-java@v1
              with:
                  java-version: 11
            - name: Setup Gradle
              uses: gradle/gradle-build-action@v2
            - name: Build with Gradle
              run: ./gradlew clean build -PtestJavaRuntimeVersion=${{ matrix.java-version }} -PtestGradleVersion=${{ matrix.gradle-version }}
              env:
                  GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}

Change order of config attributes
Change order of config attributes
