[REFACTOR] 함수 파라미터 및 변하지 않아야 하는 변수에 final 키워드 적용 #118
Workflow file for this run
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: NONSOOLMATE DEV CI | |
on: | |
pull_request: | |
branches: [ "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
working-directory: nonsoolmateServer | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: resources 폴더 내 파일 생성 | |
run: | | |
mkdir -p src/main/resources | |
echo "${{ secrets.DEV_APPLICATION }}" > src/main/resources/application.yaml | |
mkdir -p src/main/resources/key | |
echo "${{ secrets.CLOUDFRONT_PRIVATE_KEY }}" > src/main/resources/key/cloudfront-private-key.pem | |
ls src/main/resources/key | |
working-directory: ${{ env.working-directory }} | |
- name: build | |
run: | | |
chmod +x gradlew | |
./gradlew build -x test | |
working-directory: ${{ env.working-directory }} | |
shell: bash | |