From f4ab69d3083ff41da3bc0b948544bb2d818b8eea Mon Sep 17 00:00:00 2001 From: Donghun Won Date: Tue, 30 Apr 2024 14:06:51 +0900 Subject: [PATCH] =?UTF-8?q?action=20:=20application-prod=20=EC=9C=BC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 49a0940..3de230a 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -27,10 +27,20 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Set YML + - name: Gradle Caching + 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 PROD_PROP run: | mkdir -p src/main/resources - echo "${{ secrets.APPLICATION_PROP }}" | base64 --decode > src/main/resources/application.properties + echo "${{ secrets.APPLICATION_PROP }}" | base64 --decode > src/main/resources/application-prod.properties find src - name: Grant execute permission for gradlew