From a1618dfcdc3443acfa08dc86614f6417a97e22b9 Mon Sep 17 00:00:00 2001 From: LegacyGamerHD Date: Sat, 23 May 2020 13:21:39 +0200 Subject: [PATCH] use matrix and java 8 and 11 upstreamed from tuinity from tsao-chi --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5d97c26..0abc1259 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + path: yapfa-paperclip.jar