File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : gradle_build
2+
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out repository
13+ uses : actions/checkout@v2
14+
15+ - name : Check out submodules
16+ uses : snickerbockers/submodules-init@v4
17+
18+ - name : Set up JDK
19+ uses : actions/setup-java@v1
20+ with :
21+ java-version : 1.8
22+
23+ - name : Gradle cache
24+ uses : actions/cache@v2
25+ with :
26+ path : |
27+ ~/.gradle/caches
28+ ~/.gradle/wrapper
29+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
30+ restore-keys : |
31+ ${{ runner.os }}-gradle-
32+
33+ - name : Gradle build
34+ run : ./gradlew build
35+
36+ - name : Archive artifact
37+ uses : actions/upload-artifact@v2
38+ with :
39+ name : artifact
40+ path : build/libs
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments