Skip to content

Commit

Permalink
feat: 자동 빌드 테스트 스크립트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hong-sile committed Jul 19, 2023
1 parent 15e9dc1 commit 9cb5378
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/backend-test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Kerdy Backend Build Test

on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened ]
types: [ opened, synchronize, reopened, ]
branches:
- backend-main

Expand All @@ -25,11 +26,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: backend-main

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'

- name: cd backend directory
run: cd backend/emm-sale

- name: Give permission for Gradle
run: chmod +x gradlew

- name: Build with Gradle
run: ./backend/emm-sale/gradlew clean build
run: gradlew clean build

0 comments on commit 9cb5378

Please sign in to comment.