summaryrefslogtreecommitdiff
path: root/.github/workflows/ci-build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci-build.yml')
-rw-r--r--.github/workflows/ci-build.yml18
1 files changed, 4 insertions, 14 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index a0d0a674..3d05da07 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -19,18 +19,8 @@ jobs:
distribution: 'zulu'
java-version: 16
- - name: Gradle build cache
- uses: actions/cache@v2
- with:
- path: ~/.gradle/caches
- key: ${{ runner.os }}-gradle-build-${{ hashFiles('**/*.gradle*') }}
- restore-keys: ${{ runner.os }}-gradle-build-
-
- - name: Gradle wrapper cache
- uses: actions/cache@v2
- with:
- path: ~/.gradle/wrapper
- key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }}
-
- name: Build with Gradle
- run: ./gradlew build
+ uses: burrunan/gradle-cache-action@v1
+ with:
+ job-id: jdk16
+ arguments: build
bgstack15