File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths-ignore :
8+ - ' README.md'
9+ - ' CONTRIBUTING.adoc'
10+ pull_request :
11+ paths-ignore :
12+ - ' README.md'
13+ - ' CONTRIBUTING.adoc'
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : ' Set up JDK'
20+ uses : actions/setup-java@v4
21+ with :
22+ distribution : zulu
23+ java-version : 8
24+
25+ - name : ' Cache Gradle packages'
26+ uses : actions/cache@v4
27+ with :
28+ path : |
29+ ~/.gradle/caches
30+ ~/.gradle/wrapper
31+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
32+ restore-keys : |
33+ ${{ runner.os }}-gradle-
34+
35+ - name : ' Checkout'
36+ uses : actions/checkout@v4
37+
38+ - name : ' Build and test'
39+ run : |
40+ ./gradlew build
You can’t perform that action at this time.
0 commit comments