Skip to content

Commit 239ded8

Browse files
authored
Merge pull request #1314 from anthonyvdotbe/issue-1308
Add distribution attribute to GitHub workflows
2 parents 48a1cbf + 3e8d3c5 commit 239ded8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/checkstyle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ jobs:
1616
uses: actions/setup-java@v3
1717
with:
1818
java-version: '17'
19+
distribution: 'temurin'
1920
- name: Code Style Check
2021
run: mvn -B checkstyle:check --file pom.xml

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
uses: actions/setup-java@v3
1212
with:
1313
java-version: '17'
14+
distribution: 'temurin'
1415
- name: Build
1516
run: mvn -DskipTests package --file pom.xml
1617

@@ -22,5 +23,6 @@ jobs:
2223
uses: actions/setup-java@v3
2324
with:
2425
java-version: '17'
26+
distribution: 'temurin'
2527
- name: Test
2628
run: mvn test --file pom.xml

.github/workflows/sonar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/setup-java@v3
1616
with:
1717
java-version: '17'
18+
distribution: 'temurin'
1819
- name: Cache SonarCloud packages
1920
uses: actions/cache@v1
2021
with:

0 commit comments

Comments
 (0)