-
Notifications
You must be signed in to change notification settings - Fork 94
33 lines (27 loc) · 1.04 KB
/
update_gradle_wrapper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Gradle wrapper update
on:
schedule:
- cron: "0 8 * * MON"
jobs:
update:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: zulu
- 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: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
branch: "gradle_update/version_${{ steps.gradleUpdate.outputs.gradle-version }}"
delete-branch: true
title: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}"
body: |
${{ steps.gradleUpdate.outputs.version-information }}
labels: "dependencies,gradle"