feat: email로 비밀번호 재설정 #7
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: [ main ] | |
permissions: write-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Create application-secret.yml | |
run: | | |
pwd | |
touch src/main/resources/application-secret.yml | |
echo "${{ secrets.APPLICATION_SECRET_YML }}" >> src/main/resources/profiles/application-secret.yml | |
cat src/main/resources/profiles/application-secret.yml | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
- name: Gradle 빌드 및 테스트 | |
run: chmod +x ./gradlew && ./gradlew build | |
- name: 테스트 결과를 댓글로 추가 | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: ${{ always() }} | |
with: | |
files: build/test-results/**/*.xml |