Update Gradle Wrapper #4
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
name: Update Gradle Wrapper | |
on: | |
schedule: | |
- cron: "30 7 * * Mon" | |
workflow_dispatch: | |
jobs: | |
update-gradle-wrapper: | |
name: Check for a gradle wrapper update and post PR updating it if one is available | |
runs-on: ubuntu-latest | |
steps: | |
# Check out sources | |
- name: Fetch Sources | |
uses: actions/[email protected] | |
# Setup JDK environment for the next steps | |
- name: Setup JDK 21 | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
cache: gradle | |
# Setup JDK environment for the next steps | |
- name: Update Gradle Wrapper When Possible | |
uses: gradle-update/[email protected] | |
with: | |
repo-token: ${{ secrets.REPO_PAT }} |