Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand authored Apr 2, 2024
1 parent c81e6f2 commit ae9cb16
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven
name: Atmosphere Play

on:
push:
Expand All @@ -11,14 +8,23 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java-version: [11, 18, 22]

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Test with Maven
run: mvn -B test --file pom.xml

0 comments on commit ae9cb16

Please sign in to comment.