Skip to content

Update README.md

Update README.md #29

Workflow file for this run

# workflow์˜ ์ด๋ฆ„
name: CI
# ํ•ด๋‹น workflow๊ฐ€ ์–ธ์ œ ์‹คํ–‰๋  ๊ฒƒ์ธ์ง€์— ๋Œ€ํ•œ ํŠธ๋ฆฌ๊ฑฐ๋ฅผ ์ง€์ •
on:
push:
branches: [ main ] # main branch๋กœ push ๋  ๋•Œ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.
pull_request:
branches: [ main ] # main branch๋กœ pull request๋  ๋•Œ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.
# workflow๋Š” ํ•œ๊ฐœ ์ด์ƒ์˜ job์„ ๊ฐ€์ง€๋ฉฐ, ๊ฐ job์€ ์—ฌ๋Ÿฌ step์— ๋”ฐ๋ผ ๋‹จ๊ณ„๋ฅผ ๋‚˜๋ˆŒ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
jobs:
build:
name: CI
# ํ•ด๋‹น jobs์—์„œ ์•„๋ž˜์˜ steps๋“ค์ด ์–ด๋– ํ•œ ํ™˜๊ฒฝ์—์„œ ์‹คํ–‰๋  ๊ฒƒ์ธ์ง€๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.
runs-on: ubuntu-latest
steps:
# ์ž‘์—…์—์„œ ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋„๋ก $GITHUB_WORKSPACE์—์„œ ์ €์žฅ์†Œ๋ฅผ ์ฒดํฌ์•„์›ƒํ•ฉ๋‹ˆ๋‹ค.
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Grant execute permission for gradlew
working-directory: MC_backend
run: chmod +x ./gradlew
shell: bash
- name: Build with Gradle
working-directory: MC_backend
run: ./gradlew build
shell: bash