Skip to content

Commit

Permalink
Create simple CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
emeraldhieu committed May 19, 2024
1 parent 94f8dfd commit 2b8a23b
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 2b8a23b

Please sign in to comment.