-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github action 적용 #28
Open
kpeel5839
wants to merge
75
commits into
dogVelopers:main
Choose a base branch
from
kpeel5839:develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
github action 적용 #28
Changes from 38 commits
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
73d9e0e
#25 github action test
kpeel5839 1ab9e53
#25 github actio test
kpeel5839 5bad231
#25 github action test
kpeel5839 7f27646
#25 github action test
kpeel5839 f565dde
#25 github action test
kpeel5839 f330770
#25 github action test
kpeel5839 a1ce788
#25 github action 실행 실패하는 gradle wrapper 지우고 진행
kpeel5839 c3dd163
#25 github action test 한번 더
kpeel5839 0c686f4
#25 github action test
kpeel5839 f8ed011
#25 github action test
kpeel5839 1999d8f
#25 github action test
kpeel5839 911c379
#25 github action test
kpeel5839 baf4138
#25 github action test
kpeel5839 d84e444
#25 github action test
kpeel5839 f1ae38a
#25 github action test
kpeel5839 2593374
#25 github action test
kpeel5839 1798926
#25 github action test
kpeel5839 6b05928
#25 github action test
kpeel5839 2cb4df3
#25 github action test
kpeel5839 f8a6038
#25 github action test
kpeel5839 34f2ae7
#25 github action test
kpeel5839 ffb5989
#25 github action test
kpeel5839 b26c45c
#25 github action test
kpeel5839 b2a828f
#25 github action test
kpeel5839 fe1cf8f
#25 github action test
kpeel5839 782fdd6
#25 github action test
kpeel5839 90f4293
#25 github action test
kpeel5839 d8676b3
#25 github action test
kpeel5839 1c1ef02
#25 github action test
kpeel5839 1bf7fd5
#25 github action test
kpeel5839 6fa50c5
#25 github action test
kpeel5839 8125edd
#25 github action test
kpeel5839 97bc9f1
#25 github action test
kpeel5839 db52518
#25 github action test
kpeel5839 dda5a13
#25 github action test
kpeel5839 862ae2b
#25 github action test
kpeel5839 23c748f
#25 github action test
kpeel5839 8b1d582
#25 github action test
kpeel5839 966744a
#25 github action test
kpeel5839 143c1f9
#25 github action test
kpeel5839 568cb63
#25 github action test
kpeel5839 3a89029
#25 github action test
kpeel5839 7cf40b7
#25 github action test
kpeel5839 aaccbe6
#25 github action test
kpeel5839 a96385c
#25 github action test
kpeel5839 468c440
#25 github action test
kpeel5839 474b7ea
#25 github action test
kpeel5839 6938865
#25 github action test
kpeel5839 994d1bc
#25 github action test
kpeel5839 8cc56bc
#25 github action test
kpeel5839 c4a45f7
#25 github action test
kpeel5839 edf9505
#25 github action test
kpeel5839 db03b46
#25 github action test
kpeel5839 f9f9903
#25 github action test
kpeel5839 341bd65
#25 github action test
kpeel5839 d71e43c
#25 github action test
kpeel5839 edef928
#25
kpeel5839 3394f05
#25
kpeel5839 e2111fd
#25
kpeel5839 d439b0c
#25g=
kpeel5839 c77f85b
#25
kpeel5839 8be8d21
#25
kpeel5839 c4f71ff
#25
kpeel5839 d85fbb1
#25
kpeel5839 35f1f02
#25
kpeel5839 5908652
#25
kpeel5839 c164d29
#25
kpeel5839 cd48d7f
#25
kpeel5839 a9382a2
#25
kpeel5839 436a096
#25
kpeel5839 2b54dca
#25
kpeel5839 b4f8040
#25
kpeel5839 91134ad
#25
kpeel5839 10707db
#25
kpeel5839 5ab71ee
#25
kpeel5839 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,36 +1,53 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
name: Spring build gradle | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
push: | ||
branches: [ main ] | ||
branches: | ||
- develop # 내가 평소에 PR 하기 전 작업하는 branch 에다가 적용 | ||
|
||
pull_request: | ||
branches: [ main ] | ||
branches: | ||
- main # pull request 시에 적용되는 branch 에다가 적용 | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
env: | ||
working-directory: /home/runner/work/dogVelopersServer/dogVelopersServer/dogvelopers | ||
key: ${{ secrets.KEY }} | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
# Runs a single command using the runners shell | ||
- name: Run a one-line script | ||
run: echo Hello, world! | ||
# 소스코드들은 11을 위주로 짰음 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
|
||
# Gradle wrapper 파일 실행 권한주기 | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
working-directory: ${{ env.working-directory }} | ||
|
||
# Gradle test를 실행한다 | ||
- name: Test with Gradle | ||
run: ./gradlew test | ||
working-directory: ${{ env.working-directory }} | ||
|
||
# 테스트 후 Result를 보기위해 Publish Unit Test Results step 추가 | ||
- name: Publish Unit Test Results | ||
uses: EnricoMi/publish-unit-test-result-action@v1 | ||
if: ${{ always() }} # 테스트가 실패하여도 Report를 보기 위해 `always`로 설정 | ||
with: | ||
files: dogvelopers/build/test-results/**/*.xml # junit report xml 을 가르킴 | ||
|
||
- name: gradle build | ||
run: ./gradlew build | ||
working-directory: ${{ env.working-directory }} | ||
|
||
- name: send to aws | ||
run: scp -i $key ~/Desktop/dogvelopers.jar [email protected]:~/daemon | ||
|
||
# Runs a set of commands using the runners shell | ||
- name: Run a multi-line script | ||
run: | | ||
echo Add other actions to build, | ||
echo test, and deploy your project. |
Empty file.
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
해당 문서참고해서 작성해도 되지 않을까요???
이렇게요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
호모낫 이거 이제 봤어여
빨리 봤었어야 했는데!