-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from emeraldhieu/github-actions
Create a simple CI workflow that tests and packages modules
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 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,40 @@ | ||
name: Java CI with Maven | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build bom | ||
run: mvn clean install | ||
working-directory: bom | ||
|
||
- name: Build grpc-interface | ||
run: mvn clean install | ||
working-directory: grpc-interface | ||
|
||
- name: Build order | ||
run: mvn clean install | ||
working-directory: order | ||
|
||
- name: Build payment | ||
run: mvn clean install | ||
working-directory: payment | ||
|
||
- name: Build shipping | ||
run: mvn clean install | ||
working-directory: shipping |