From f9f8d36c02c97851f7266173fd3fcabe95af3d62 Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Fri, 30 Aug 2019 00:49:36 +0300 Subject: [PATCH] Another try with github actions (add individual develop and pull-request workflows) --- .../workflows/{build_others.yml => develop.yml} | 4 ++-- .github/workflows/pull-request.yml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) rename .github/workflows/{build_others.yml => develop.yml} (86%) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/build_others.yml b/.github/workflows/develop.yml similarity index 86% rename from .github/workflows/build_others.yml rename to .github/workflows/develop.yml index 4df75b34..7d38df2b 100644 --- a/.github/workflows/build_others.yml +++ b/.github/workflows/develop.yml @@ -1,9 +1,9 @@ -name: Other build checks +name: Snapshot on: push: branches: - - '!master' + - develop jobs: build: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 00000000..5ec4cab8 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,17 @@ +name: Pull request checks + +on: pull_request + +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.8 + - name: Build with Gradle + run: ./gradlew build