chore: ci.yml #5
Workflow file for this run
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
# 워크플로의 이름 지정 | |
name: CI | |
# 워크플로가 시작될 조건 지정 | |
on: | |
push: | |
branches: | |
- 'feature/*' | |
pull_request: | |
branches: | |
- 'develop' | |
- 'feature/*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest # 실행 환경 지정 | |
# 실행스텝지정 | |
steps: | |
# 체크아웃 및 JDK 세팅 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
# Gradle 권한 부여 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build |