-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: vityaman <[email protected]>
- Loading branch information
1 parent
b4e1941
commit 492a56b
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Maven | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths: | ||
- "ports/java/**" | ||
- ".github/workflows/*" | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- "ports/java/**" | ||
- ".github/workflows/*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Unit Test | ||
working-directory: ${{github.workspace}}/ports/java | ||
run: mvn test | ||
- name: Package | ||
working-directory: ${{github.workspace}}/ports/java | ||
run: mvn package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters