Skip to content

Commit

Permalink
Merge pull request #2 from ArMonarch/patch-3
Browse files Browse the repository at this point in the history
Update maven.yml to compile on java-version 11,16,17
  • Loading branch information
ArMonarch authored Nov 28, 2023
2 parents 6223f18 + 7088671 commit 27d3517
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
name: Java CI

on: [push]
on:
push:
branches:
- master
- main

jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-latest
strategy:
matrix:
java-version: ['11','16','17']

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

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

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

0 comments on commit 27d3517

Please sign in to comment.