File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload javadocs to Github pages
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ ubuntu :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout master branch
10
+ uses : actions/checkout@v2
11
+ - name : Set up JDK 11
12
+ uses : actions/setup-java@v1
13
+ with :
14
+ java-version : 11
15
+ - name : Cache Maven packages
16
+ uses : actions/cache@v2
17
+ with :
18
+ path : ~/.m2
19
+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
20
+ restore-keys : ${{ runner.os }}-m2
21
+ - name : Refresh Javadoc
22
+ run : ./dev/docker.sh
Original file line number Diff line number Diff line change 6
6
if [[ " ${TRAVIS_REPO_SLUG} " != " oracle/opengrok" ||
7
7
" ${TRAVIS_PULL_REQUEST} " != " false" ||
8
8
" ${TRAVIS_BRANCH} " != " master" ]]; then
9
+ echo " Skipping Javadoc refresh"
9
10
exit 0
10
11
fi
11
12
You can’t perform that action at this time.
0 commit comments