🔀 :: 이메일 전송 기능 구현 #27
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: CI | |
on: | |
push: | |
branches: [ "main" , "develop" ] | |
pull_request: | |
branches: [ "main" , "develop" ] | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
run: ./gradlew clean build --no-daemon | |
- name: GOMS Server CI success Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ success() }} | |
with: | |
title: ✅ GOMS Server CI success ✅ | |
webhook: ${{ secrets.DISCORD_WEBHOOK_BOT }} | |
color: 00FF00 | |
- name: GOMS Server CI failed Discord Notification | |
uses: sarisia/actions-status-discord@v1 | |
if: ${{ failure() }} | |
with: | |
title: ❌ GOMS Server CI failed ❌ | |
webhook: ${{ secrets.DISCORD_WEBHOOK_BOT }} | |
color: FF0000 |