From 283a0a5de3f98b560193178bb2f0a6f19a3864e5 Mon Sep 17 00:00:00 2001 From: jiseon Date: Sun, 7 Jul 2024 20:32:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20GitHub=20actions=20=EC=BA=90=EC=8B=B1?= =?UTF-8?q?=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cicd.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index c3f5e87..16dcb5c 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -26,11 +26,15 @@ jobs: uses: actions/setup-java@v3 with: java-version: '17' - distribution: 'oracle' + distribution: 'temurin' + cache: gradle - # Gradle 설정 + # Gradle 설정 (캐싱 적용) - name: Setup Gradle uses: gradle/gradle-build-action@v2 + with: + arguments: build + cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }} # Docker Hub 로그인 - name: Login to Docker Hub