use matrix and java 8 and 11

upstreamed from tuinity from tsao-chi
This commit is contained in:
LegacyGamerHD 2020-05-23 13:21:39 +02:00 committed by GitHub
parent 8f81b240a4
commit a1618dfcdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [11, 8]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1.3.0
with:
java-version: 11
java-version: ${{ matrix.java }}
- name: Build YAPFA
run: |
git submodule init
@ -31,4 +35,4 @@ jobs:
uses: actions/upload-artifact@v2-preview
with:
name: YAPFA
path: yapfa-paperclip.jar
path: yapfa-paperclip.jar