File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 18
18
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
19
19
fetch-depth : 0
20
20
- name : Set up JDK 1.8
21
- uses : actions/setup-java@v1
21
+ uses : actions/setup-java@v2.3.1
22
22
with :
23
- java-version : 1.8
23
+ distribution : ' adopt'
24
+ java-version : 8
24
25
- name : Build with Maven
25
26
run : mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage
26
27
env :
32
33
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL : ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL }}
33
34
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME : ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME }}
34
35
- name : Set up JDK 11
35
- uses : actions/setup-java@v1
36
+ uses : actions/setup-java@v2.3.1
36
37
with :
38
+ distribution : ' adopt'
37
39
java-version : 11
38
40
- name : Analyze with SonarQube
39
41
run : mvn --show-version --no-transfer-progress sonar:sonar --file pom.xml -Dsonar.organization=cloudbees -Dsonar.host.url=${SONAR_URL} -Dsonar.login=${SONAR_TOKEN}
Original file line number Diff line number Diff line change 18
18
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
19
19
fetch-depth : 0
20
20
- name : Set up JDK 1.8
21
- uses : actions/setup-java@v1
21
+ uses : actions/setup-java@v2.3.1
22
22
with :
23
- java-version : 1.8
23
+ distribution : ' adopt'
24
+ java-version : 8
24
25
- name : Build with Maven
25
26
run : mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage
26
27
env :
You can’t perform that action at this time.
0 commit comments