♻️ [Refact] 퀴즈 이미지 생성 로직 분리 #238
Workflow file for this run
This file contains hidden or 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 with Gradle | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| - develop | |
| jobs: | |
| CI: | |
| name: Continuous Integration | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout with submodules | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.ACCESS_TOKEN }} | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Update git submodules | |
| run: git submodule update --init --recursive | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Verify Backend_Config files | |
| run: ls -al Backend_Config | |
| - name: Build without tests | |
| run: | | |
| echo "▶ Running Gradle build without test" | |
| ./gradlew --no-daemon clean build -x test | |
| # 테스트 코드가 생기면 아래 명령어에서 -x test 제거할 것 | |
| # ./gradlew --no-daemon clean build | |
| - name: Build summary | |
| if: success() | |
| run: | | |
| echo " Gradle build completed successfully without tests." | |
| - name: Mark failure if tests failed | |
| if: failure() | |
| run: | | |
| echo "Tests failed. Please check the test logs for detail" | |
| exit 1 |