Skip to content

Commit fdd9057

Browse files
author
Dennis Labordus
authored
Merge pull request #68 from com-pas/dependabot/github_actions/actions/setup-java-2.3.0
Bump actions/setup-java from 1 to 2.3.0
2 parents e3dd03b + 63e7c5b commit fdd9057

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/build-project.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up JDK 1.11
18-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v2.3.0
1919
with:
20-
java-version: 1.11
20+
distribution: 'zulu'
21+
java-version: '11'
2122
- name: Create custom Maven Settings.xml
2223
uses: whelk-io/maven-settings-xml-action@v18
2324
with:

.github/workflows/release-project.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424
shell: bash
2525
# Extra the tagname form the git reference, value of GITHUB_REF will be something like refs/tags/<tag_name>.
2626
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
27-
- uses: actions/setup-java@v2
27+
- name: Set up JDK 11
28+
uses: actions/[email protected]
2829
with:
30+
distribution: 'zulu'
2931
java-version: '11'
30-
distribution: 'adopt'
3132
- name: Create custom Maven Settings.xml
3233
uses: whelk-io/maven-settings-xml-action@v18
3334
with:

.github/workflows/sonarcloud-analysis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v2.3.0
2121
with:
22-
java-version: 1.11
22+
distribution: 'zulu'
23+
java-version: '11'
2324
- name: Cache SonarCloud packages
2425
uses: actions/[email protected]
2526
with:

0 commit comments

Comments
 (0)