mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-12-28 20:17:46 +01:00
use matrix and java 8 and 11
upstreamed from tuinity from tsao-chi
This commit is contained in:
parent
8f81b240a4
commit
a1618dfcdc
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user