Skip to content

Commit

Permalink
docs: test 와 build 분리 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeonjaez committed Sep 18, 2024
1 parent 84dfad0 commit 82aed7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:

- name: 테스트 및 빌드하기 (develop 브랜치)
if: github.ref == 'refs/heads/develop'
run: ./gradlew clean build -PspringProfile=dev --warning-mode all --scan
run: |
./gradlew clean test -DspringProfile=test
./gradlew build -x test -DspringProfile=dev --warning-mode all --scan
- name: 빌드된 파일 이름 변경
run: mv ./build/libs/*SNAPSHOT.jar ./project.jar
Expand Down

0 comments on commit 82aed7d

Please sign in to comment.