File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed
Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 11name : Java CI with Gradle
2- on :
3- push :
4- paths-ignore :
5- - ' **.md'
6- pull_request :
7- paths-ignore :
8- - ' **.md'
2+ on : [push pull_request]
93jobs :
104 build :
115 runs-on : ubuntu-latest
@@ -17,13 +11,14 @@ jobs:
1711 fail-fast : false
1812 max-parallel : 1
1913 matrix :
20- java_version : ['8', '11']
14+ java_version : ['8', '11', '17' ]
2115 steps :
2216 - name : checkout
2317 uses : actions/checkout@v2
2418 - name : Set up JDK
25- uses : actions/setup-java@v1
19+ uses : actions/setup-java@v2
2620 with :
21+ distribution : ' zulu'
2722 java-version : ${{ matrix.java_version }}
2823 - name : Grant execute permission for gradlew
2924 run : chmod +x gradlew
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ name: Deploy static content to Pages
22
33on :
44 push :
5- tags :
6- - ' v*'
7- branches :
8- - master
5+ # tags:
6+ # - 'v*'
97
108 # Allows you to run this workflow manually from the Actions tab
119 workflow_dispatch :
3432 with :
3533 submodules : ' recursive'
3634 - name : Set up JDK
37- uses : actions/setup-java@v1
35+ uses : actions/setup-java@v2
3836 with :
39- java-version : ' 11'
37+ distribution : ' zulu'
38+ java-version : ' 17'
39+ - name : Grant execute permission for gradlew
40+ run : chmod +x gradlew
41+ - name : Unit Test
42+ run : |
43+ ./gradlew build -d
4044 - name : Generate Docs
4145 run : |
4246 rm -rf build/docs
You can’t perform that action at this time.
0 commit comments