디바이스 도메인 / 푸시 발송 API 개발 #26
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: Backend CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [ opened, synchronize ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: action checkout | |
| uses: actions/checkout@v4 | |
| - name: Auto assign | |
| uses: kentaro-m/[email protected] | |
| with: | |
| configuration-path: '.github/auto_assign.yml' | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Gradle Caching | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Copy config file | |
| run: echo "${{ secrets.FIREBASE_ADMINSDK }}" | base64 --decode > ./tuk-batch/src/main/resources/firebase-adminsdk.json | |
| - name: Build with Gradle | |
| uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 | |
| with: | |
| arguments: clean test bootJar |