Skip to content

Gradle Wrapper Update #212

Gradle Wrapper Update

Gradle Wrapper Update #212

name: Gradle Wrapper Update
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'
- name: Chmod
run: chmod +x ./gradlew
- name: update gradle
id: gradleUpdate
uses: EdwarDDay/upgrade-gradle-action@v1
- name: create pull request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "build(deps): Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
branch: "gradle_update/version_${{ steps.gradleUpdate.outputs.gradle-version }}"
delete-branch: true
title: "build(deps): Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
body: |
${{ steps.gradleUpdate.outputs.version-information }}
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
labels: "dependencies,gradle"