From 357d75f63aaea8d7c44e7903bd1c622570a9b725 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Sun, 1 Jan 2023 22:02:19 +0900 Subject: [PATCH] Use setup-java action to cache dependencies Signed-off-by: jongwooo --- .github/workflows/continuous-integraion-workflow.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integraion-workflow.yml b/.github/workflows/continuous-integraion-workflow.yml index 41d155f..62d7a07 100644 --- a/.github/workflows/continuous-integraion-workflow.yml +++ b/.github/workflows/continuous-integraion-workflow.yml @@ -14,13 +14,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: '17' - - name: Cache Gradle packages - uses: actions/cache@v2 - with: - path: ~/.gradle/caches - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + distribution: 'temurin' + cache: 'gradle' - name: Build with Gradle run: ./gradlew check --continue