mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-04 18:02:27 +01:00
fixed maybe
This commit is contained in:
parent
8dcb34fe2e
commit
574af2bfef
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java: [11, 8, 14, 15-ea]
|
||||
java: [11, 8, 14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -25,6 +25,10 @@ jobs:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: ${{ runner.os }}-maven-
|
||||
- uses: s4u/maven-settings-action@v2.1.0
|
||||
name: Use ${{ matrix.java }} as the java target and source
|
||||
with:
|
||||
properties: '[{"maven.compiler.source": "${{ matrix.java }}"}, {"maven.compiler.target": "${{ matrix.java }}"}]'
|
||||
- name: Setup YAPFA Project
|
||||
run: |
|
||||
git submodule update --init --recursive -f
|
||||
|
4
yapfa
4
yapfa
@ -39,7 +39,7 @@ case "$1" in
|
||||
basedir
|
||||
$mvncmd -N install surefire-report:report
|
||||
cd ${FORK_NAME}-API
|
||||
$mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install surefire-report:report
|
||||
$mvncmd -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -e clean install surefire-report:report
|
||||
) || failed=1
|
||||
;;
|
||||
"j" | "launcher" | "jar" | "paperclip")
|
||||
@ -82,7 +82,7 @@ case "$1" in
|
||||
basedir
|
||||
$mvncmd -N install surefire-report:report
|
||||
cd ${FORK_NAME}-API
|
||||
$mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -source "$JAVA_VERSION" -target "$JAVA_VERSION" -e clean install surefire-report:report
|
||||
$mvncmd -e clean install && (cd ../Tuinity/Paper/Paper-MojangAPI && $mvncmd -e clean install) && cd ../${FORK_NAME}-Server && $mvncmd -e clean install surefire-report:report
|
||||
) || failed=1
|
||||
;;
|
||||
"e" | "edit")
|
||||
|
Loading…
Reference in New Issue
Block a user