From 84fc8442d9c0a9e0b7d23541f303fc467bca2d9f Mon Sep 17 00:00:00 2001 From: maggi373 <40539743+maggi373@users.noreply.github.com> Date: Thu, 18 Nov 2021 20:38:55 +0100 Subject: [PATCH] update github actions now runs at every push or pull request regardless of branch and runs once a month to check that compiling still works also now runs latest java 8 for testing --- .github/workflows/gradle.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 80a7290ee..791b82d2b 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -5,9 +5,9 @@ name: Check code on: push: - branches: [ 1.7.10 ] pull_request: - branches: [ 1.7.10 ] + schedule: + - cron: '0 12 1 * *' jobs: build: @@ -19,7 +19,7 @@ jobs: - name: Set up JDK 8 uses: actions/setup-java@v2 with: - java-version: '8.0.292+10' + java-version: '8' distribution: 'adopt' - name: Grant execute permission for gradlew run: chmod +x gradlew