Skip to content

Commit 32a485b

Browse files
author
Dennis Labordus
committed
Fixed Github Actions.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 72d27de commit 32a485b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/build-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: Set up JDK 1.11
1818
uses: actions/[email protected]
1919
with:
20+
distribution: 'zulu'
2021
java-version: 1.11
2122
- name: Create custom Maven Settings.xml
2223
uses: whelk-io/maven-settings-xml-action@v18

.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/[email protected]
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- name: Set up JDK 11
2020
uses: actions/[email protected]
2121
with:
22+
distribution: 'zulu'
2223
java-version: 1.11
2324
- name: Cache SonarCloud packages
2425
uses: actions/cache@v1

0 commit comments

Comments
 (0)