From 5a3bb7ca52de58c36f814ff67c668ccb1b6db218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20S=C3=B8rensen?= Date: Thu, 14 Nov 2024 21:17:25 +0100 Subject: [PATCH] update GitHub actions to use temurin --- .github/workflows/maven.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 10acad1d8..232ecc8f8 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,11 +3,7 @@ name: Java CI with Maven -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] +on: [push] jobs: build: @@ -16,11 +12,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 8 + - name: Set up Java uses: actions/setup-java@v2 with: - java-version: '8' - distribution: 'adopt' + java-version: '17' + distribution: 'temurin' cache: maven - name: Build with Maven run: mvn -B package --file pom.xml