From b407412e45de7b1bcd100668ba0dc737dc4ceec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0brahim=20ATAY?= Date: Tue, 18 Jun 2024 13:18:53 +0000 Subject: [PATCH] github actions maven config --- .github/workflows/maven.yml | 41 ++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a9cbe6f..4d0b885 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -112,4 +112,43 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: mvn -B package --file java-16/pom.xml \ No newline at end of file + run: mvn -B package --file java-16/pom.xml + + java17: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file java-17/pom.xml + + java21: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file java-21/pom.xml + + java22: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 22 + uses: actions/setup-java@v3 + with: + java-version: '22' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file java-22/pom.xml \ No newline at end of file