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