aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMiniDigger <[email protected]>2021-06-14 00:45:42 +0200
committerMiniDigger <[email protected]>2021-06-14 00:51:30 +0200
commit5cdbd0064bd460534c265fc41c1d6133e839d77a (patch)
treeb4803e8b7e7e4091bba7921bc26bb9abdf1e0998 /.github
parentab709d8405c353583c6efe7e16b92c484edaec95 (diff)
downloadPaper-5cdbd0064bd460534c265fc41c1d6133e839d77a.tar.gz
Paper-5cdbd0064bd460534c265fc41c1d6133e839d77a.zip
update github action to the new setup
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0da3c7e06f..b8ae06caf6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,14 +26,14 @@ jobs:
uses: actions/cache@v2
with:
path: |
- ~/.m2/repository/
- work/Minecraft
- key: ${{ runner.os }}-paper-2-${{ hashFiles('**/pom.xml') }}
+ ~/.gradle/caches
+ ~/.gradle/jdks
+ ~/.gradle/native
+ ~/.gradle/wrapper
+ key: ${{ runner.os }}-paper-2-${{ hashFiles('**/*.gradle*', 'gradle/**', 'gradle.properties') }}
restore-keys: ${{ runner.os }}-paper-2
- name: Patch and build
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Actions"
- ./paper build
- - name: Build javadocs
- run: mvn -pl Paper-API,Paper-MojangAPI -am javadoc:javadoc
+ ./gradlew applyPatches build