File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test pull requests
2+
3+ on : [pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout latest code
10+ uses : actions/checkout@v2
11+
12+ - name : Set up JDK 11
13+ uses : actions/setup-java@v1
14+ with :
15+ java-version : 11
16+
17+ - name : Setup build cache
18+ uses : actions/cache@v1
19+ with :
20+ path : ~/.gradle/caches
21+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
22+ restore-keys : |
23+ ${{ runner.os }}-gradle-
24+
25+ - name : Setup Gradle wrapper cache
26+ uses : actions/cache@v1
27+ with :
28+ path : ~/.gradle/wrapper
29+ key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
30+ restore-keys : |
31+ ${{ runner.os }}-gradle-wrapper-
32+
33+ - name : Build with Gradle
34+ run : ./gradlew clean build
You can’t perform that action at this time.
0 commit comments