Skip to content

Update Gradle Wrapper #4

Update Gradle Wrapper

Update Gradle Wrapper #4

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 }}