mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-06 02:42:34 +01:00
Merge pull request #12 from LegacyGamerHD/patch-2
use matrix and java 8 and 11
This commit is contained in:
commit
08f6ea81cb
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user