Skip to content

Commit

Permalink
Merge pull request #27 from emeraldhieu/github-actions
Browse files Browse the repository at this point in the history
Create a simple CI workflow that tests and packages modules
  • Loading branch information
emeraldhieu authored May 19, 2024
2 parents 94f8dfd + 83bba7e commit f531df3
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/maven.yml
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

0 comments on commit f531df3

Please sign in to comment.