From a3a01256a287edcdc2f8fdabad1d982de5ce36ae Mon Sep 17 00:00:00 2001 From: Yunjae-Na <41162218+yunjaena@users.noreply.github.com> Date: Wed, 28 Feb 2024 11:31:28 +0900 Subject: [PATCH] Update cd.yml --- .github/workflows/cd.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index be83177f9..bc49fe245 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -18,15 +18,15 @@ jobs: - name: Make gradlew executable run: chmod +x ./gradlew - # - name: Gradle cache - # uses: actions/cache@v4 - # with: - # path: | - # ~/.gradle/caches - # ~/.gradle/wrapper - # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - # restore-keys: | - # ${{ runner.os }}-gradle- + - name: Gradle cache + uses: actions/cache@v4 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} + restore-keys: | + ${{ runner.os }}-gradle- - name: Update Secrets env: @@ -44,6 +44,9 @@ jobs: do echo $file done + + - name: Setup Gradle + uses: gradle/gradle-build-action@v3 - name: Update Firebase env: