Feature/#175 test 및 application 수정 #75
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: 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 |