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 1
1
name : 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]
9
3
jobs :
10
4
build :
11
5
runs-on : ubuntu-latest
@@ -17,13 +11,14 @@ jobs:
17
11
fail-fast : false
18
12
max-parallel : 1
19
13
matrix :
20
- java_version : ['8', '11']
14
+ java_version : ['8', '11', '17' ]
21
15
steps :
22
16
- name : checkout
23
17
uses : actions/checkout@v2
24
18
- name : Set up JDK
25
- uses : actions/setup-java@v1
19
+ uses : actions/setup-java@v2
26
20
with :
21
+ distribution : ' zulu'
27
22
java-version : ${{ matrix.java_version }}
28
23
- name : Grant execute permission for gradlew
29
24
run : chmod +x gradlew
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ name: Deploy static content to Pages
2
2
3
3
on :
4
4
push :
5
- tags :
6
- - ' v*'
7
- branches :
8
- - master
5
+ # tags:
6
+ # - 'v*'
9
7
10
8
# Allows you to run this workflow manually from the Actions tab
11
9
workflow_dispatch :
34
32
with :
35
33
submodules : ' recursive'
36
34
- name : Set up JDK
37
- uses : actions/setup-java@v1
35
+ uses : actions/setup-java@v2
38
36
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
40
44
- name : Generate Docs
41
45
run : |
42
46
rm -rf build/docs
You can’t perform that action at this time.
0 commit comments