From 9cb8e6d6d6b609cc4903ee91bfe15580880ffdc4 Mon Sep 17 00:00:00 2001 From: "Keenan D. Buckley" Date: Wed, 4 Dec 2019 14:34:07 -0700 Subject: [PATCH] Add Continous Integration Github service to check if any commit to master or pull request to master is able to build. To be used in pull requests to make sure code will build before a code review. --- .github/workflows/gradle.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..9eaf0d0 --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,23 @@ +name: Java CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.12 + - name: Change wrapper permissions + run: chmod +x ./gradlew + - name: Build with Gradle + run: ./gradlew build