Skip to content

Commit 7fe7532

Browse files
authored
Merge pull request #403 from cloudbees-oss/dependabot/github_actions/actions/setup-java-2.3.1
Bump actions/setup-java from 1 to 2.3.1
2 parents ec5859b + ab6a458 commit 7fe7532

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/ci-master.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
1919
fetch-depth: 0
2020
- name: Set up JDK 1.8
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v2.3.1
2222
with:
23-
java-version: 1.8
23+
distribution: 'adopt'
24+
java-version: 8
2425
- name: Build with Maven
2526
run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage
2627
env:
@@ -32,8 +33,9 @@ jobs:
3233
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_EMAIL }}
3334
ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME: ${{ secrets.ZENDESK_JAVA_CLIENT_TEST_REQUESTER_NAME }}
3435
- name: Set up JDK 11
35-
uses: actions/setup-java@v1
36+
uses: actions/setup-java@v2.3.1
3637
with:
38+
distribution: 'adopt'
3739
java-version: 11
3840
- name: Analyze with SonarQube
3941
run: mvn --show-version --no-transfer-progress sonar:sonar --file pom.xml -Dsonar.organization=cloudbees -Dsonar.host.url=${SONAR_URL} -Dsonar.login=${SONAR_TOKEN}

.github/workflows/ci-pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
# Disabling shallow clone is recommended for improving relevancy of reporting with SonarCloud
1919
fetch-depth: 0
2020
- name: Set up JDK 1.8
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v2.3.1
2222
with:
23-
java-version: 1.8
23+
distribution: 'adopt'
24+
java-version: 8
2425
- name: Build with Maven
2526
run: mvn --show-version --no-transfer-progress verify --file pom.xml -Pcoverage
2627
env:

0 commit comments

Comments
 (0)