File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 21
21
steps :
22
22
- uses : actions/checkout@v3
23
23
24
+ # 캐싱 적용
25
+ - name : Cache Gradle
26
+ uses : actions/cache@v3
27
+ with :
28
+ path : |
29
+ ~/.gradle/caches
30
+ ~/.gradle/wrapper
31
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
32
+ restore-keys : |
33
+ ${{ runner.os }}-gradle-
34
+
24
35
# JDK 17 설정
25
36
- name : Set up JDK 17
26
37
uses : actions/setup-java@v3
29
40
distribution : ' temurin'
30
41
cache : gradle
31
42
32
- # Gradle 설정 (캐싱 적용)
43
+ # Gradle 설정
33
44
- name : Setup Gradle
34
45
uses : gradle/gradle-build-action@v2
35
- with :
36
- arguments : build
37
- cache-read-only : ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
38
46
39
47
# Docker Hub 로그인
40
48
- name : Login to Docker Hub
You can’t perform that action at this time.
0 commit comments