-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: 테스트 오류 수정 * feat: pull request마다 테스트 진행하는 기능 추가
- Loading branch information
1 parent
7292c7b
commit 1977d3c
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Upbrella DEV CI | ||
name: Yonsei-Golf DEV CI | ||
|
||
on: | ||
push: | ||
|
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,34 @@ | ||
name: Yonsei-Golf DEV CI | ||
|
||
on: | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
WORKING_DIRECTORY: ./ | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
|
||
- name: Set application properties | ||
run: | | ||
touch src/main/resources/application.properties | ||
echo "${{ secrets.APPLICATION_PROPERTIES }}" > src/main/resources/application.properties | ||
- name: Build with Gradle | ||
run: | | ||
chmod +x gradlew | ||
./gradlew clean build | ||
env: | ||
WORKING_DIRECTORY: ${{ env.WORKING_DIRECTORY }} |
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