Skip to content

Commit

Permalink
Use the correct JDK version with update-gradle-wrapper action (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
cacay authored Nov 4, 2024
1 parent d7950e8 commit f460555
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/update-gradle-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ on:
schedule:
- cron: "0 0 * * *"

env:
JDK_DISTRIBUTION: zulu
JDK_VERSION: 17

jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@v4
with:
distribution: ${{ env.JDK_DISTRIBUTION }}
java-version: ${{ env.JDK_VERSION }}

- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v2

0 comments on commit f460555

Please sign in to comment.