Skip to content

Commit

Permalink
Deprecate java 11 and add support for java 21
Browse files Browse the repository at this point in the history
Signed-off-by: Spolti <filippespolti@gmail.com>
  • Loading branch information
spolti committed Dec 24, 2024
1 parent 948d2c1 commit 15fdd1d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ReBot - Java 11
name: ReBot - Java 21

on:
push:
Expand All @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 21
- name: Test with Maven
run: mvn clean package --no-transfer-progress --file pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ReBot - Native Java 11
name: ReBot - Native Java 17

on:
push:
Expand All @@ -12,9 +12,9 @@ jobs:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt-get install -y build-essential libz-dev zlib1g-dev
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
- name: package
run: mvn clean package --no-transfer-progress --file pom.xml -Pnative -Dquarkus.native.container-build=true -DskipTests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ReBot CI - Native Java 11
name: ReBot CI - Native Java 17

on: pull_request
jobs:
Expand All @@ -8,10 +8,11 @@ jobs:
- uses: actions/checkout@v2
- name: Install Dependencies
run: sudo apt-get install -y build-essential libz-dev zlib1g-dev
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
- name: package
run: mvn clean package --no-transfer-progress --file pom.xml -Pnative -Dmaven.javadoc.skip=true -Dquarkus.native.container-build=true -DskipTests
run: mvn clean package --no-transfer-progress --file pom.xml \
-Pnative -Dmaven.javadoc.skip=true -Dquarkus.native.container-build=true -DskipTests

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: ReBot CI - Java 11
name: ReBot CI - Java 21

on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 21
- name: Test with Maven
run: mvn clean test --no-transfer-progress --file pom.xml -Dmaven.javadoc.skip=true

0 comments on commit 15fdd1d

Please sign in to comment.