Skip to content

Update Gradle Wrapper #142

Update Gradle Wrapper

Update Gradle Wrapper #142

# Schedule Gradle Wrapper updates
name: Update Gradle Wrapper
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
update-gradle-wrapper:
name: Update Gradle Wrapper
runs-on: ubuntu-latest
steps:
# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4
# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 17
# ================================
# UPDATE GRADLE WRAPPER
# ================================
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v2
with:
release-channel: stable
base-branch: develop
target-branch: develop
pr-title-template: 'Gradle Wrapper %targetVersion%'
commit-message-template: 'Update Gradle Wrapper to version %targetVersion%'