Skip to content

Commit a8a8f36

Browse files
committed
Add github action
1 parent a75ab69 commit a8a8f36

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build & Test
2+
on: [push,pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v3
8+
- name: Set up JDK 11
9+
uses: actions/setup-java@v3
10+
with:
11+
java-version: '11'
12+
distribution: 'adopt'
13+
- name: Build with Maven
14+
env:
15+
DETECTLANGUAGE_API_KEY: ${{ secrets.DETECTLANGUAGE_API_KEY }}
16+
run: mvn test

0 commit comments

Comments
 (0)