fix: Apple ID 토큰 서명 검증 누락 취약점 수정 #31
Workflow file for this run
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: RUNNECT PROD CI | |
| on: | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '11' | |
| distribution: 'temurin' | |
| - name: make application.properties 파일 생성 | |
| run: | | |
| ## create application.yml | |
| mkdir ./src/main/resources | |
| cd ./src/main/resources | |
| # application.yml 파일 생성 | |
| touch ./application.yml | |
| # GitHub-Actions 에서 설정한 값을 application.yml 파일에 쓰기 | |
| echo "${{ secrets.RUNNECT_PROD_APPLICATION }}" >> ./application.yml | |
| # application.yml 파일 확인 | |
| cat ./application.yml | |
| shell: bash | |
| # 이 워크플로우는 gradle build | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew build -x test |