Skip to content

Commit da163ba

Browse files
committed
init: setup
1 parent 6b81d95 commit da163ba

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/java-ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Java Build
2+
3+
on:
4+
pull_request:
5+
branches: [ "main" ]
6+
paths: [ '**/*.java' ]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Compile Java files
16+
run: |
17+
find . -name "*.java" > sources.txt
18+
javac @sources.txt

0 commit comments

Comments
 (0)