From 5d8f3de80dfe3e6aa77ee58c2e8c276afbe69a3f Mon Sep 17 00:00:00 2001 From: Robert McNees Date: Thu, 28 Sep 2023 07:04:27 -0400 Subject: [PATCH] Added GitHub Actions --- .../continuous-integration-build.yml | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/continuous-integration-build.yml diff --git a/.github/workflows/continuous-integration-build.yml b/.github/workflows/continuous-integration-build.yml new file mode 100644 index 0000000..6a80539 --- /dev/null +++ b/.github/workflows/continuous-integration-build.yml @@ -0,0 +1,37 @@ +name: CI Build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + name: Build Main Branch + runs-on: ubuntu-latest + + steps: + - name: Checkout source code + uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + cache: maven + + - name: Build Source with Maven + working-directory: ./name-source + run: ./mvnw --batch-mode clean package + + - name: Build Processor with Maven + working-directory: ./name-processor + run: ./mvnw --batch-mode clean package + + - name: Build Sink with Maven + working-directory: ./name-sink + run: ./mvnw --batch-mode clean package