diff options
author | MiniDigger <[email protected]> | 2021-06-14 00:45:42 +0200 |
---|---|---|
committer | MiniDigger <[email protected]> | 2021-06-14 00:51:30 +0200 |
commit | 5cdbd0064bd460534c265fc41c1d6133e839d77a (patch) | |
tree | b4803e8b7e7e4091bba7921bc26bb9abdf1e0998 /.github | |
parent | ab709d8405c353583c6efe7e16b92c484edaec95 (diff) | |
download | Paper-5cdbd0064bd460534c265fc41c1d6133e839d77a.tar.gz Paper-5cdbd0064bd460534c265fc41c1d6133e839d77a.zip |
update github action to the new setup
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 12 |
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 |