From 7b60865de260cd61ceddeae289417a7b4d9ffe6c Mon Sep 17 00:00:00 2001 From: Robert McNees <86265089+robertmcnees@users.noreply.github.com> Date: Fri, 9 Aug 2024 08:04:44 -0400 Subject: [PATCH] Create CI build in GitHub Actions --- .../continuous-integration-build.yml | 32 +++++++++++++++++++ 1 file changed, 32 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..f667b00 --- /dev/null +++ b/.github/workflows/continuous-integration-build.yml @@ -0,0 +1,32 @@ +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@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Build Initial with Gradle + working-directory: ./initial + run: ./gradlew build + + - name: Build Complete with Gradle + working-directory: ./complete + run: ./gradlew build