Skip to content

Commit 0f079f2

Browse files
committed
moved setup java to front
1 parent c3c10d5 commit 0f079f2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jobs:
3535
with:
3636
fetch-depth: 0
3737

38+
- name: Set up Java
39+
uses: actions/setup-java@v2
40+
with:
41+
java-version: 17
42+
distribution: "temurin"
43+
3844
- name: Setup Ruby ${{ matrix.version }}
3945
uses: ruby/setup-ruby@v1
4046
with:
@@ -67,12 +73,6 @@ jobs:
6773
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
6874
-Dsonar.projectVersion=${{ env.VERSION }}
6975
70-
- name: Set up Java
71-
uses: actions/setup-java@v2
72-
with:
73-
java-version: 17
74-
distribution: "temurin"
75-
7676
- name: SonarQube Scan (Pull Request)
7777
if: matrix.version == '3.2.2' && github.event_name == 'pull_request'
7878
uses: SonarSource/sonarcloud-github-action@v1.9

0 commit comments

Comments
 (0)