mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 22:45:31 +01:00
Add javadoc step to GH Actions
This commit is contained in:
parent
01082503ec
commit
0081ed1c45
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -17,20 +17,22 @@ jobs:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: JDK ${{ matrix.java }}
|
- name: JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
- name: Cache maven
|
- name: Cache maven
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.m2/repository/
|
~/.m2/repository/
|
||||||
work/Minecraft
|
work/Minecraft
|
||||||
key: ${{ runner.os }}-paper-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-paper-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: ${{ runner.os }}-paper
|
restore-keys: ${{ runner.os }}-paper
|
||||||
- name: Patch and build
|
- name: Patch and build
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "no-reply@github.com"
|
git config --global user.email "no-reply@github.com"
|
||||||
git config --global user.name "Github Actions"
|
git config --global user.name "Github Actions"
|
||||||
./paper build
|
./paper build
|
||||||
|
- name: Build javadocs
|
||||||
|
run: mvn -pl Paper-API,Paper-MojangAPI -am javadoc:javadoc
|
||||||
|
|
Loading…
Reference in a new issue