Skip to content

Commit

Permalink
Create scheduled-build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Hoard <[email protected]>
  • Loading branch information
dhoard authored Oct 29, 2024
1 parent af2f88b commit 57f1d40
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/scheduled-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Scheduled Build (every 3 hours)
on:
schedule:
- cron: "0 */3 * * *" # Runs every 3 hours
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
cache: 'maven'
- name: Run the Maven verify phase
run: |
./mvnw --batch-mode clean install
./mvnw --batch-mode javadoc:jar

0 comments on commit 57f1d40

Please sign in to comment.