Skip to content

Feature/#173 깃 액션 빌드조건 변경 #72

Feature/#173 깃 액션 빌드조건 변경

Feature/#173 깃 액션 빌드조건 변경 #72

Workflow file for this run

name: back-build-test
on:
pull_request:
branches: ["develop"]
workflow_dispatch:
jobs:
back_build_test:
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.ACTION_TOKEN }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
- name: Shutdown the Default MySQL
run: sudo service mysql stop
- name: Set up MySQL 8.0
uses: mirromutth/[email protected]
with:
host port: 3306
container port: 3306
mysql database: "sw_css"
mysql root password: ${{ secrets.DB_PASSWORD }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
- name: Build with Gradle Wrapper
run: |
cd backend
./gradlew build