mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2025-01-01 05:58:02 +01:00
Merge pull request #16 from budgidiere/patch-2
Greatly speed up build times.
This commit is contained in:
commit
426f1be02b
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -17,6 +17,13 @@ jobs:
|
|||||||
uses: actions/setup-java@v1.3.0
|
uses: actions/setup-java@v1.3.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
|
|
||||||
|
- uses: actions/cache@v1.1.2
|
||||||
|
with:
|
||||||
|
path: ~/.m2/repository
|
||||||
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-maven-
|
||||||
|
|
||||||
- name: Build YAPFA
|
- name: Build YAPFA
|
||||||
run: |
|
run: |
|
||||||
git submodule init
|
git submodule init
|
||||||
@ -26,7 +33,8 @@ jobs:
|
|||||||
yapfaDir=`pwd`
|
yapfaDir=`pwd`
|
||||||
./patchPaper.sh
|
./patchPaper.sh
|
||||||
cd Tuinity
|
cd Tuinity
|
||||||
./tuinity jar
|
mvn -N install
|
||||||
|
./tuinity patch
|
||||||
cd $yapfaDir
|
cd $yapfaDir
|
||||||
./yapfa patch
|
./yapfa patch
|
||||||
./yapfa build
|
./yapfa build
|
||||||
|
Loading…
Reference in New Issue
Block a user