Skip to content

Commit

Permalink
fix: java version in gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter253545 committed Jul 1, 2024
1 parent b4df3e9 commit e949e3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 17
- name: Setup JDK 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Ensure gradlew is executable
run: chmod +x ./gradlew
- name: Build with gradle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down

0 comments on commit e949e3d

Please sign in to comment.