Skip to content

Commit 526a35e

Browse files
committed
update actions java version
1 parent 0f4f7fb commit 526a35e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
if: github.event_name != 'release'
1818
runs-on: ubuntu-18.04
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
with:
2222
fetch-depth: 0
23-
- name: Set up JDK 11
24-
uses: actions/setup-java@v1
23+
- name: Set up JDK 17
24+
uses: actions/setup-java@v3
2525
with:
26-
java-version: 11
26+
java-version: 17
2727
- name: Grant execute permission for gradlew
2828
run: chmod +x gradlew
2929
- name: Execute build test jacocoTestReport and sonar analysis
@@ -43,11 +43,11 @@ jobs:
4343
if: github.event_name == 'release'
4444
runs-on: ubuntu-18.04
4545
steps:
46-
- uses: actions/checkout@v2
47-
- name: Set up JDK 1.8
48-
uses: actions/setup-java@v1
46+
- uses: actions/checkout@v3
47+
- name: Set up JDK 17
48+
uses: actions/setup-java@v3
4949
with:
50-
java-version: 1.8
50+
java-version: 17
5151
- name: Grant execute permission for gradlew
5252
run: chmod +x gradlew
5353
# - name: Execute jacocoTestReport

0 commit comments

Comments
 (0)