Skip to content

Commit

Permalink
ci: create java 17 and java 21 pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Nov 29, 2023
1 parent 102cc79 commit 1b5e832
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI with Maven
name: Java 17 CI with Maven

on:
push:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/java-21.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Java 21 CI with Maven

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

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'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 1b5e832

Please sign in to comment.