Skip to content

feat: github actions를 통한 배포 설정 #1

feat: github actions를 통한 배포 설정

feat: github actions를 통한 배포 설정 #1

Workflow file for this run

name: RecipAI CI with Gradle
on:
push:
branches:
- 'main'
- 'develop'
pull_request:
branches:
- 'main'
- 'develop'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: ☕️ set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
server-id: github
setting-path: ${{ github.workspace }}
- name: 👏🏻 grant execute permission for gradlew
run: chmod +x gradlew
- name: 🐘 build with Gradle
run: ./gradlew clean build