Merge pull request #12 from LegacyGamerHD/patch-2

use matrix and java 8 and 11
This commit is contained in:
tr7zw 2020-05-23 16:01:52 +02:00 committed by GitHub
commit 08f6ea81cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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