actions: Fix gradle wrapper permission, fix gradle wrapper upda… (#1648)

actions: Fix gradle wrapper permission, fix gradle wrapper update, log gradle tests
This commit is contained in:
Owain van Brakel
2019-09-28 17:58:45 +02:00
committed by GitHub
5 changed files with 30 additions and 18 deletions

25
.github/workflows/gradle_wrapper.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: RunelitePlus - Gradle Wrapper
on:
schedule:
- cron: 0 0 * * *
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- 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
- name: Create Gradle wrapper update Pull Request
uses: peter-evans/create-pull-request@v1.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PULL_REQUEST_BRANCH: GRADLE-WRAPPER-UPDATE
PULL_REQUEST_TITLE: 'project: Update gradle wrapper'
PULL_REQUEST_BODY: This is an auto-generated PR with an updated gradle version
COMMIT_MESSAGE: 'project: Update gradle wrapper'

View File

@@ -1,17 +0,0 @@
name: RunelitePlus - Gradle Wrapper
on:
schedule:
- cron: 0 0 * * *
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Update Gradle Wrapper
uses: rahulsom/gradle-up@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -15,6 +15,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Assembling cache client
run: ./gradlew :cache-client:assemble --console=plain
- name: Assembling scraper

View File

@@ -3,7 +3,7 @@
# RuneLitePlus
[![Build Status](https://travis-ci.org/runelite-extended/runelite.svg?branch=master)](https://travis-ci.org/runelite-extended/runelite)
[![Build Status](https://github.com/runelite-extended/runelite/workflows/RunelitePlus%20-%20CI/badge.svg)](https://github.com/runelite-extended/runelite/actions)
[![HitCount](http://hits.dwyl.io/runelite-extended/runelite.svg)](http://hits.dwyl.io/runelite-extended/runelite)
[RuneLitePlus](https://runelitepl.us) is an extended version of [RuneLite](https://github.com/runelite/runelite) that provides more functionality and less restrictions while staying more open-source. We are not affiliated with RuneLite.

View File

@@ -12,6 +12,7 @@ buildscript {
}
plugins {
id 'com.adarshr.test-logger' version '1.7.0' apply false
id "com.github.ben-manes.versions" version "0.22.0" apply false
id "com.gradle.build-scan" version "2.4"
}
@@ -105,6 +106,7 @@ allprojects {
}
subprojects {
apply plugin: 'com.adarshr.test-logger'
apply plugin: 'java-library'
apply plugin: 'maven'
apply plugin: "com.github.ben-manes.versions"