From c5b60ac7aeb35e5ef9d58e316ed72441babebc18 Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Sun, 7 Mar 2021 12:22:06 -0500 Subject: [PATCH] Add github action to check push and pr --- .github/workflows/gradle-build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/gradle-build.yml diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml new file mode 100644 index 00000000..3a1fe357 --- /dev/null +++ b/.github/workflows/gradle-build.yml @@ -0,0 +1,19 @@ +name: Run Gradle on push and pull request +on: + - push + - pull_request +jobs: + gradle: + strategy: + matrix: + java-version: [ 8, 11 ] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java-version}} + - uses: eskatos/gradle-command-action@v1 + with: + arguments: check +