Skip to content

Commit 8cbf2da

Browse files
authored
Create update-gradle.yaml
1 parent 62a498b commit 8cbf2da

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/update-gradle.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Update Gradle Wrapper
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * 0"
7+
8+
jobs:
9+
update-gradle-wrapper:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Set up JDK 17
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: 17
19+
distribution: 'temurin'
20+
cache: gradle
21+
22+
- name: Update Gradle Wrapper
23+
uses: gradle-update/update-gradle-wrapper-action@v1
24+
with:
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
set-distribution-checksum: false

0 commit comments

Comments
 (0)