From 6211115b3a50907060fff52761fe6de17fd185d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Tue, 24 Oct 2023 18:00:15 +0200 Subject: [PATCH] Always set up Java 11 --- .github/workflows/gradle.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 000e059..2849e5e 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,6 +15,14 @@ jobs: steps: - uses: actions/checkout@v4 + + # Java 11 is always needed to run the tests because they use MPS 2021.x + - name: Set up Java 11 + uses: actions/setup-java@v3 + with: + distribution: temurin + java-version: 11 + - uses: actions/setup-java@v3 with: distribution: temurin