Skip to content

Commit 3664eeb

Browse files
committed
Add workflow for Update Gradle Wrapper Action.
This action keeps Gradle Wrapper up-to-date to the latest release. It will run every day at midnight (UTC) and create a pull request if a new Gradle version is available. The updated Wrapper script is validated (with checksum verification) during the update process, and the Wrapper is setup so that it will validate the Gradle binary itself on first run of the new version.
1 parent f10355e commit 3664eeb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Update Gradle Wrapper
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
update-gradle-wrapper:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Update Gradle Wrapper
15+
uses: gradle-update/update-gradle-wrapper-action@v1
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)