[UNI-255] fix: FastJson 사용으로 인한 프로메테우스 오류 해결 #158
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: Uniro-server CI | |
on: | |
pull_request: | |
branches: | |
- be | |
jobs: | |
build-springboot: | |
name: Build and analyze (SpringBoot) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
- name: Create application.properties from secret | |
run: | | |
echo "${{ secrets.BE_SPRING_APPLICATION_SECRET }}" > ./uniro_backend/src/main/resources/application.properties | |
shell: bash | |
- name: Debug application.properties | |
run: cat ./uniro_backend/src/main/resources/application.properties | |
- name: Build and analyze (SpringBoot) | |
run: | | |
cd uniro_backend | |
./gradlew clean build |