[FEAT] 편지만 원하는 소원일 때 편지가 아닌 경우 예외처리 #173
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-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x ./gradlew | |
shell: bash | |
- name: Create application.yml | |
run: | | |
pwd | |
touch src/main/resources/application-dev.yml | |
echo "${{ secrets.APPLICATION_DEV }}" >> src/main/resources/application-dev.yml | |
cat src/main/resources/application-dev.yml | |
touch src/main/resources/application-test.yml | |
echo "${{ secrets.APPLICATION_TEST }}" >> src/main/resources/application-test.yml | |
- name: Build with Gradle | |
run: ./gradlew build | |
shell: bash |