From bb165a89c1757a8e6c8e44fbbc9e2b8045707e5f Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Fri, 12 May 2023 20:48:59 -0500 Subject: [PATCH 1/4] Add weekly scheduled run at Satuirday 10:22 UTC --- .github/workflows/maven.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 3633a65f..8c036152 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,7 +1,12 @@ name: Java CI -on: [workflow_dispatch, push, pull_request] +on: + workflow_dispatch: + push: + pull_request: + schedule: + - cron: '22 10 * * 6' jobs: build: From ef4ac72792d805f9cf2f5fb17a10e34dfd9d06bb Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Fri, 12 May 2023 20:50:55 -0500 Subject: [PATCH 2/4] Update actions to v3 --- .github/workflows/maven.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8c036152..a49c56d5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -14,17 +14,17 @@ jobs: steps: - name: Checkout Movecraft-Combat - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: Movecraft-Combat - name: Set up JDK 17 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '17' - name: Cache Maven packages id: cacheMain - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2 @@ -41,7 +41,7 @@ jobs: - name: Rename jar run: mv staging/Movecraft-Combat*.jar staging/Movecraft-Combat_$GITHUB_SHA.jar - name: Upload jar - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Movecraft-Combat_Dev-Build path: staging/Movecraft-Combat_*.jar From 4fafcd25346ccad9e04f595c9522072cf6734f9c Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Fri, 12 May 2023 20:58:09 -0500 Subject: [PATCH 3/4] Move back 3 hours --- .github/workflows/maven.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a49c56d5..a5397de1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,4 +1,3 @@ - name: Java CI on: @@ -6,7 +5,7 @@ on: push: pull_request: schedule: - - cron: '22 10 * * 6' + - cron: '22 13 * * 6' jobs: build: From 48037fc4f5ab9f3d26517c0a7980d120316d7f32 Mon Sep 17 00:00:00 2001 From: TylerS1066 Date: Sun, 21 May 2023 10:35:19 -0500 Subject: [PATCH 4/4] Test every hour --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a5397de1..1b610132 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -5,7 +5,7 @@ on: push: pull_request: schedule: - - cron: '22 13 * * 6' + - cron: '22 * * * 6' jobs: build: