-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
백엔드 CI / CD 스크립트 수정
- Loading branch information
Showing
3 changed files
with
54 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: pull-request-build | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop-backend | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./backend | ||
|
||
steps: | ||
- name: 레포지토리 체크아웃 | ||
uses: actions/checkout@v4 | ||
|
||
- name: JDK 17을 설치 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'corretto' | ||
|
||
- name: gradlew 권한 부여 | ||
run: chmod +x ./gradlew | ||
|
||
- name: Gradle 빌드 | ||
run: ./gradlew clean build |