[FEAT] 널체크 추가 #82
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 | |
| on: | |
| pull_request: | |
| branches: [ "develop" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: 체크아웃 | |
| uses: actions/checkout@v3 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'corretto' | |
| java-version: '21' | |
| - name: application-secret.yml 생성 | |
| run: | | |
| # create application-secret.yml | |
| cd src/main/resources | |
| # application-secret.yml 파일 생성 | |
| touch ./application-secret.yml | |
| # GitHub-Actions 에서 설정한 값을 application-secret.yml 파일에 쓰기..git | |
| echo "${{ secrets.CI_APPLICATION_SECRET }}" > ./application-secret.yml | |
| - name: cloud-task-key.json 생성 | |
| run: | | |
| # create cloud-task-key.json | |
| cd src/main/resources | |
| # cloud-task-key.json 파일 생성 | |
| touch ./cloud-task-key.json | |
| # GitHub-Actions 에서 설정한 값을 cloud-task-key.json 파일에 쓰기..git | |
| echo "${{ secrets.CLOUD_TASK_KEY_JSON_BASE64 }}" | base64 -d > cloud-task-key.json | |
| - name: 빌드 | |
| run: | | |
| chmod +x gradlew | |
| ./gradlew build -x test | |
| shell: bash |