From d5cbec9d6319226b4976733adbca80a04d30bd9b Mon Sep 17 00:00:00 2001 From: MingyeomKim <67851124+MingyeomKim@users.noreply.github.com> Date: Tue, 8 Aug 2023 14:57:46 +0900 Subject: [PATCH] =?UTF-8?q?ci:=20gradlew=20caching=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d295c5..88a9c2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,18 @@ jobs: # defining jobs, executed in this workflows steps: - uses: actions/checkout@v3 # clone repository + + # Caching Gradle + - name: Cache Gradle + uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') + restore-keys: | + ${{ runner.os }}-gradle- + - name: Set up JDK 17 uses: actions/setup-java@v3 # set up the required java version with: