Skip to content

Commit 27e1c58

Browse files
authored
Merge pull request #8680 from elliedori/github-actions-pr-pipeline
Set up Github Actions pipeline for PRs
2 parents 224361c + e213e64 commit 27e1c58

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR Build
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Set up JDK
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: '8'
19+
- name: Cache Gradle packages
20+
uses: actions/cache@v2
21+
with:
22+
path: ~/.gradle/caches
23+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
24+
- name: Build with Gradle
25+
run: ./gradlew clean build --continue

0 commit comments

Comments
 (0)