Skip to content

Commit

Permalink
dogVelopers#25 github action test
Browse files Browse the repository at this point in the history
  • Loading branch information
kpeel5839 committed Mar 15, 2022
1 parent 0c686f4 commit f8ed011
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Spring build gradle
on:
push:
branches:
- main
- develop
- develop # 내가 평소에 PR 하기 전 작업하는 branch 에다가 적용

pull_request:
branches: [ main ]
branches:
- main # pull request 시에 적용되는 branch 에다가 적용

# workflow_dispatch:

Expand All @@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v2

env:
working-directory: ./dogvelopers # gradlew 가 있는 경로 설정

# 소스코드들은 11을 위주로 짰음
- name: Set up JDK 11
uses: actions/setup-java@v1
Expand All @@ -27,8 +30,8 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: set gradle
run: ./gradlew wrapper
# - name: set gradle
# run: ./gradlew wrapper

# Gradle test를 실행한다
- name: Test with Gradle
Expand Down

0 comments on commit f8ed011

Please sign in to comment.