-
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1.06 KB
/
update-gradle-wrapper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# 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%'