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:
25
.github/workflows/gradle_wrapper.yml
vendored
Normal file
25
.github/workflows/gradle_wrapper.yml
vendored
Normal 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'
|
||||
17
.github/workflows/schedule.yml
vendored
17
.github/workflows/schedule.yml
vendored
@@ -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 }}
|
||||
2
.github/workflows/scraper.yml
vendored
2
.github/workflows/scraper.yml
vendored
@@ -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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
# RuneLitePlus
|
||||
[](https://travis-ci.org/runelite-extended/runelite)
|
||||
[](https://github.com/runelite-extended/runelite/actions)
|
||||
[](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.
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user