From f8e78fe8c69f8493057f14e4637dc2c944c7f7a0 Mon Sep 17 00:00:00 2001 From: Park Hyeongmin Date: Mon, 19 Feb 2024 20:47:25 +0900 Subject: [PATCH] Update gradle-publish.yml --- .github/workflows/gradle-publish.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 0cf0665..9f2175e 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -42,6 +42,16 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0 + - name: Cache with Gradle + uses: actions/cache@v2 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle- + - name: Build with Gradle run: ./gradlew clean build