From 8fdae8251f231aa834deffdbadb580974aa8d904 Mon Sep 17 00:00:00 2001 From: Sven Meyer Date: Mon, 16 Dec 2024 12:14:52 +0100 Subject: [PATCH] Set style.yml to Java 17 --- .github/workflows/style.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 894f1638b..6ca3ce780 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -14,6 +14,13 @@ jobs: steps: - name: Checkout source code uses: actions/checkout@v4 + # Set up Java version + - name: Set up Java 17 + uses: actions/setup-java@v4 + with: + distribution: adopt + java-package: jdk + java-version: 17 # Restores Maven dependecies - name: Restore local Maven repository uses: actions/cache@v4