Skip to content

Commit 5108065

Browse files
committed
fix: cd-develop.yml 수정
- 코드 체크아웃 추가
1 parent 4c8fe71 commit 5108065

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/cd-develop.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Checkout code (코드 체크아웃)
15+
uses: actions/checkout@v2
16+
1417
- name: Set up JDK 17 (JDK 17 설정)
1518
uses: actions/setup-java@v2
1619
with:
@@ -29,12 +32,8 @@ jobs:
2932

3033
- name: Grant execute permission to Gradle (Gradle 실행 권한 부여)
3134
run: |
32-
cd default
33-
ls -al
34-
chmod +x gradlew
35-
cd ../chat
36-
chmod +x gradlew
37-
cd ..
35+
chmod +x ./default/gradlew
36+
chmod +x ./chat/gradlew
3837
3938
# - name: Detect Changes (변경된 파일 감지)
4039
# id: changed-files
@@ -54,11 +53,8 @@ jobs:
5453

5554
- name: Build JAR (JAR 빌드)
5655
run: |
57-
cd default
58-
./gradlew bootJar
59-
cd ../chat
56+
./default/gradlew bootJar
6057
./chat/gradlew bootJar
61-
cd ..
6258
6359
# CR_PAT: Container Registry - Personal Access Token
6460
- name: GitHub Container Registry login (GitHub Container Registry 로그인)

0 commit comments

Comments
 (0)