forked from open-osrs/runelite
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 1.05 KB
/
gradle.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
name: OpenOSRS - Gradle Dependencies
on:
schedule:
- cron: 0 0 * * *
jobs:
update-wrapper:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Update Gradle Wrapper
run: ./gradlew wrapper --gradle-version $(curl -s https://api.github.com/repos/gradle/gradle/releases/latest | grep -Po '"name":.*?[^\\]",' | sed -r 's/[\"name:, ]+//g') --distribution-type all --console=plain
- name: Create Gradle wrapper update Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.OpenOSRS }}
author: OpenOSRS <[email protected]>
committer: OpenOSRS <[email protected]>
branch: GRADLE-WRAPPER-UPDATE
commit-message: 'gradle: Update gradle wrapper'
title: 'gradle: Update gradle wrapper'
body: This is an auto-generated PR with an updated gradle version
labels: automated-pull-request, gradle
signoff: false