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.

Signed-off-by: Cristian Greco <cristian@regolo.cc>
This commit is contained in:
Cristian Greco 2020-09-23 20:21:43 +02:00
parent 9ab053d702
commit 62f620f79b
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
name: Update Gradle Wrapper
on:
schedule:
- cron: "0 0 * * *"
jobs:
update-gradle-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
target-branch: develop

View File

@ -27,7 +27,7 @@ SDK API changes ⚠️:
- Rename `tryThis` to `tryOrNull`
Build 🧱:
-
- Update Gradle Wrapper Action
Other changes:
- Add an advanced action to reset an account data entry