Bumped CI to Java 11 and added Java 16 CI

This commit is contained in:
stijnb1234 2021-06-08 16:38:05 +02:00
parent ea68ac3971
commit 28df4a1d86
2 changed files with 26 additions and 3 deletions

View file

@ -1,4 +1,4 @@
name: Java CI name: Java 11 CI
on: [push] on: [push]
@ -9,10 +9,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up JDK 1.8 - name: Set up JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 1.8 java-version: 11
- name: Build with Maven - name: Build with Maven
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- run: mkdir -p target - run: mkdir -p target

23
.github/workflows/maven-16.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Java 16 CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Build with Maven
run: mvn -B package --file pom.xml
- run: mkdir -p target
- uses: actions/upload-artifact@master
with:
name: v10lift
path: target