Skip to content

Commit 064253a

Browse files
committed
Fix distribution parameter indentation and Java version in workflows
- Fixed distribution indentation (aligned with java-version at 10 spaces) - Updated Java version to 17 in release and snapshot-release workflows
1 parent 946828a commit 064253a

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v4
1919
with:
2020
java-version: '17'
21-
distribution: 'zulu'
21+
distribution: 'zulu'
2222
- name: Grant execute permission for gradlew
2323
run: chmod +x gradlew
2424
- name: Build with Gradle

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19-
- name: Set up JDK 11
19+
- name: Set up JDK 17
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '11'
23-
distribution: 'zulu'
22+
java-version: '17'
23+
distribution: 'zulu'
2424
- name: Build with Gradle
2525
run: ./gradlew build
2626
- name: Get Release Version

.github/workflows/snapshot-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20-
- name: Set up JDK 11
20+
- name: Set up JDK 17
2121
uses: actions/setup-java@v4
2222
with:
23-
java-version: '11'
24-
distribution: 'zulu'
23+
java-version: '17'
24+
distribution: 'zulu'
2525
- name: Build with Gradle
2626
run: ./gradlew build
2727
- name: Get Release Version

0 commit comments

Comments
 (0)