From 5609fe5ed96743af61756bbbef14dea34835ffc2 Mon Sep 17 00:00:00 2001 From: Isuru Rajapakse Date: Sun, 25 Oct 2020 16:44:51 +1100 Subject: Add github action for build (#8) --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..38dcf29 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Gradle build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build -- cgit 1.4.1