Update Gradle Wrapper #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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%' |