diff --git a/.github/workflows/check-supported-versions.yaml b/.github/workflows/linux.yaml similarity index 91% rename from .github/workflows/check-supported-versions.yaml rename to .github/workflows/linux.yaml index ed1883d58dc9..9a9b66dfa668 100644 --- a/.github/workflows/check-supported-versions.yaml +++ b/.github/workflows/linux.yaml @@ -44,6 +44,12 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- + - name: Setup Maven + uses: s4u/setup-maven-action@v1.7.0 + with: + java-version: ${{ matrix.java }} + maven-version: 3.9.0 + - name: Build with Maven shell: bash run: mvn -nsu -B --quiet -Djacoco.skip=true -Dorg.slf4j.simpleLogger.defaultLogLevel=error --no-transfer-progress clean install --file pom.xml @@ -80,6 +86,11 @@ jobs: steps: - name: Check out code uses: actions/checkout@v3 + - name: Setup Maven + uses: s4u/setup-maven-action@v1.7.0 + with: + java-version: 11 + maven-version: 3.9.0 - name: Download build artifact uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 208adde7a027..b2b62fe5e88c 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -38,6 +38,11 @@ jobs: restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- + - name: Setup Maven + uses: s4u/setup-maven-action@v1.7.0 + with: + java-version: ${{ matrix.java }} + maven-version: 3.9.0 - name: Run maven run: mvn --no-snapshot-updates --batch-mode --quiet install env: