We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2b95b6 commit 33bf420Copy full SHA for 33bf420
.github/workflows/ci.yml
@@ -0,0 +1,29 @@
1
+name: JavaCI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Set up JDK 11
12
+ uses: actions/setup-java@v1
13
+ with:
14
+ java-version: 11
15
+ - name: Cache Gradle packages
16
+ uses: actions/cache@v2
17
18
+ path: |
19
+ ~/.gradle/caches
20
+ ~/.gradle/wrapper
21
+ key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
22
+ restore-keys: |
23
+ ${{ runner.os }}-gradle-
24
+ - name: Build with Gradle
25
+ run: ./gradlew build
26
+ - name: Cleanup Gradle Cache
27
+ run: |
28
+ rm -f ~/.gradle/caches/modules-2/modules-2.lock
29
+ rm -f ~/.gradle/caches/modules-2/gc.properties
.travis.yml
0 commit comments