[Refactor/#250] 패키지 구조 변경 #107
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: CI | |
on: | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
working-directory: linkmind | |
steps: | |
- name: 체크아웃 | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: application.yaml 생성 | |
run: | | |
cd src/main/resources | |
echo "${{ secrets.APPLICATION }}" > ./application.yaml | |
working-directory: ${{ env.working-directory }} | |
- name: toaster-firebase-admin-sdk.json 생성 | |
run: | | |
cd src/main/resources | |
echo "${{ secrets.TOASTER_FIREBASE_ADMIN_SDK }}" > ./toaster-firebase-admin-sdk.json | |
working-directory: ${{ env.working-directory }} | |
- name: 빌드 | |
run: | | |
chmod +x gradlew | |
./gradlew build -x test | |
working-directory: ${{ env.working-directory }} | |
shell: bash |