Skip to content

Commit 3793022

Browse files
committed
add actions schedule
1 parent 8eaef71 commit 3793022

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: build
2+
on:
3+
push:
4+
schedule:
5+
- cron: '1 * * * 6' # weekly cron schedule
6+
jobs:
7+
compile-and-test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# https://github.com/actions/checkout
11+
- name: Download repository
12+
uses: actions/checkout@v3
13+
14+
# https://github.com/actions/setup-java
15+
- name: Set up JDK 18
16+
uses: actions/setup-java@v2
17+
with:
18+
distribution: 'temurin'
19+
java-version: 18
20+
21+
- name: Test with Maven
22+
run: mvn test

0 commit comments

Comments
 (0)