Skip to content

Commit

Permalink
Add GH workflows for Java 8, 11, 17, and 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jjlauer committed Dec 7, 2023
1 parent 12319dc commit 3346f00
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 23 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/java11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Java 11
on:
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Azul JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'zulu'
cache: 'maven'
- name: Test in Maven
run: mvn install
18 changes: 18 additions & 0 deletions .github/workflows/java17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Java 17
on:
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Azul JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
cache: 'maven'
- name: Test in Maven
run: mvn install
18 changes: 18 additions & 0 deletions .github/workflows/java21.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Java 21
on:
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Azul JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: 'zulu'
cache: 'maven'
- name: Test in Maven
run: mvn install
18 changes: 18 additions & 0 deletions .github/workflows/java8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Java 8
on:
- push
- workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Set up Azul JDK 8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'zulu'
cache: 'maven'
- name: Test in Maven
run: mvn install
23 changes: 0 additions & 23 deletions .github/workflows/maven.yml

This file was deleted.

0 comments on commit 3346f00

Please sign in to comment.