From 8d7cffb6651d57bb75b6cff00c569a214149bd6f Mon Sep 17 00:00:00 2001 From: Philip Langer Date: Fri, 22 Dec 2023 16:11:25 +0100 Subject: [PATCH 1/2] Specify maven version --- .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 965c55d..4437814 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,11 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - name: Setup Java and Maven + uses: s4u/setup-maven-action@v1.11.0 with: - java-version: '17' - distribution: 'temurin' - cache: maven + java-version: 17 + maven-version: 3.9.2 - name: Build (mvn package) run: mvn -B package --file com.eclipsesource.megit.parent/pom.xml From 81b385bfa93d5a60707d9784deba1e7a22ed07da Mon Sep 17 00:00:00 2001 From: Philip Langer Date: Fri, 22 Dec 2023 16:17:04 +0100 Subject: [PATCH 2/2] Update create-release.yml --- .github/workflows/create-release.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 725602c..c3e2f47 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -8,12 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 - uses: actions/setup-java@v3 + - name: Setup Java and Maven + uses: s4u/setup-maven-action@v1.11.0 with: - java-version: '17' - distribution: 'temurin' - cache: maven + java-version: 17 + maven-version: 3.9.2 - name: Build (mvn package) run: mvn -B package --file com.eclipsesource.megit.parent/pom.xml - name: Create Release