Skip to content

Commit

Permalink
Update github actions to use Apache Maven 3.9.5 and Java 21
Browse files Browse the repository at this point in the history
Change-Id: I2a522c63719ec59e595e2bd962a7f7b450b639b7
  • Loading branch information
talios committed Oct 15, 2023
1 parent 61b95c8 commit 4385867
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: 'zulu'
- name: Switch To Maven 3
run: |
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar" >> .mvn/wrapper/maven-wrapper.properties
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots install -Prun-its
2 changes: 1 addition & 1 deletion .github/workflows/java19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
distribution: 'temurin'
- name: Switch To Maven 3
run: |
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar" >> .mvn/wrapper/maven-wrapper.properties
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots install -Prun-its
4 changes: 2 additions & 2 deletions .github/workflows/java20.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration Tests on Java 19
name: Integration Tests on Java 20

on:
push:
Expand All @@ -19,7 +19,7 @@ jobs:
distribution: 'temurin'
- name: Switch To Maven 3
run: |
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar" >> .mvn/wrapper/maven-wrapper.properties
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots install -Prun-its
25 changes: 25 additions & 0 deletions .github/workflows/java21.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Integration Tests on Java 21

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
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'
- name: Switch To Maven 3
run: |
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar" >> .mvn/wrapper/maven-wrapper.properties
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots install -Prun-its
4 changes: 2 additions & 2 deletions .github/workflows/java8.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration Tests on Java 8 and Maven 3.9.1
name: Integration Tests on Java 8 and Maven 3.9.5

on:
push:
Expand All @@ -19,7 +19,7 @@ jobs:
java-version: 8
- name: Switch To Maven 3
run: |
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "distributionUrl=https://dlcdn.apache.org/maven/maven-3/3.9.5/binaries/apache-maven-3.9.5-bin.zip" > .mvn/wrapper/maven-wrapper.properties
echo "wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar" >> .mvn/wrapper/maven-wrapper.properties
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots install -Prun-its
2 changes: 1 addition & 1 deletion .github/workflows/java8_m4.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Integration Tests on Java 8 and Maven 4.0.0-alpha-5
name: Integration Tests on Java 8 and Maven 4.0.0-alpha-7

on:
push:
Expand Down

0 comments on commit 4385867

Please sign in to comment.