From b3cfc401054bfe53c38d2c7a2ba2c547fa3eeca0 Mon Sep 17 00:00:00 2001 From: Hieu Date: Sun, 19 May 2024 20:07:40 +0700 Subject: [PATCH] Try out --- .github/workflows/maven.yml | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..520bec0 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,40 @@ +name: Java CI with Maven + +on: + push: + branches: [ "github-actions" ] + pull_request: + branches: [ "github-actions" ] + +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