Fix/#144 apply notification spec (#145) #13
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: π Maker Dev App CI | |
# ν΄λΉ Actionμ΄ μ€νλλ Trigger | |
on: | |
push: | |
branches: [ "dev" ] | |
pull_request: | |
branches: [ "dev" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# 1) μν¬νλ‘μ° μ€ν μ κΈ°λ³Έμ μΌλ‘ 체ν¬μμ νμ | |
- name: checkout | |
uses: actions/checkout@v3 | |
# 2) JDK 11λ²μ μ€μΉ, λ€λ₯Έ JDK λ²μ μ μ¬μ©νλ€λ©΄ μμ | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
# 3) νκ²½λ³μ νμΌ μμ± | |
- name: Copy application-local.yml | |
run: | | |
# application-local.yml μμ± | |
touch ./src/main/resources/application-local.yml | |
# application.yaml νμΌ κ° μ λ ₯ | |
echo "${{ secrets.APPLICATION_LOCAL_YML }}" >> ./src/main/resources/application-local.yaml | |
# application.yaml νμΌ νμΈ | |
cat ./src/main/resources/application-local.yaml | |
shell: bash | |
# μ΄ μν¬νλ‘μ°λ gradle build | |
- name: Grant execute permission for gradlew | |
run: | | |
chmod +x gradlew | |
- name: Build with Gradle | |
run: | | |
./gradlew build -x test | |