Skip to content

Commit d004124

Browse files
Create java-build.yml
1 parent ba7099a commit d004124

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/java-build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Java Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Java
16+
uses: actions/setup-java@v3
17+
with:
18+
java-version: "17"
19+
distribution: "temurin"
20+
21+
- name: Compile Java source files
22+
run: |
23+
javac *.java

0 commit comments

Comments
 (0)