diff options
author | Mariell Hoversholm <[email protected]> | 2021-01-30 14:33:22 +0100 |
---|---|---|
committer | Mariell <[email protected]> | 2021-01-30 14:41:08 +0100 |
commit | 0081ed1c456c85eb4d98f69addb48b2480338c72 (patch) | |
tree | 1193d41f814bedbbfcce5d2ebbb7084a66877b86 /.github/workflows | |
parent | 01082503ecd6b38fa3522adb7392aacd2317cc65 (diff) | |
download | Paper-0081ed1c456c85eb4d98f69addb48b2480338c72.tar.gz Paper-0081ed1c456c85eb4d98f69addb48b2480338c72.zip |
Add javadoc step to GH Actions
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc159f206c..7c30a42386 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,20 +17,22 @@ jobs: fail-fast: true steps: - uses: actions/checkout@v2 - - name: JDK ${{ matrix.java }} + - name: JDK ${{ matrix.java }} uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java }} + java-version: ${{ matrix.java }} - name: Cache maven uses: actions/cache@v2 with: path: | ~/.m2/repository/ work/Minecraft - key: ${{ runner.os }}-paper-${{ hashFiles('**/pom.xml') }} + key: ${{ runner.os }}-paper-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-paper - 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 |