-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert McNees
committed
Oct 3, 2023
1 parent
0e47b8e
commit 50f62f2
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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 Initial with Maven | ||
working-directory: ./initial | ||
run: ./mvnw --batch-mode clean package | ||
|
||
- name: Build Initial with Gradle | ||
working-directory: ./initial | ||
run: ./gradlew build | ||
|
||
- name: Build Complete with Maven | ||
working-directory: ./complete | ||
run: ./mvnw --batch-mode clean package | ||
|
||
- name: Build Complete with Gradle | ||
working-directory: ./complete | ||
run: ./gradlew build |