forked from open-osrs/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.89 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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
update-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Update Gradle Dependencies
run: ./gradlew useLatestVersions --console=plain
- name: Create Gradle dependencies update Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.OpenOSRS }}
author: OpenOSRS <[email protected]>
committer: OpenOSRS <[email protected]>
branch: GRADLE-DEPS-UPDATE
commit-message: 'gradle: Update gradle dependencies'
title: 'gradle: Update gradle dependencies'
body: This is an auto-generated PR with an updated gradle dependencies
labels: automated-pull-request, gradle
signoff: false