From cc1c2a20021ce9e1ccdc80e9d84a80dd18b734e8 Mon Sep 17 00:00:00 2001 From: Damian G Date: Fri, 29 Dec 2023 17:50:31 -0600 Subject: [PATCH] ci: Change version for automatic compiling to java 17 --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7463400..d54d248a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,11 +7,10 @@ jobs: if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }} runs-on: ubuntu-latest steps: - - name: Checkout repo - uses: actions/checkout@v2 - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: '17' + distribution: 'temurin' - name: Build with Maven run: mvn -B package --file pom.xml \ No newline at end of file