-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (41 loc) · 1.41 KB
/
yappu-world-dev-ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: yappu-world-dev-ci
on:
pull_request:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'liberica'
cache: gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle Wrapper
run: ./gradlew clean build
env:
SPRING_PROFILES_ACTIVE: test
# - name: CI Success Notification
# uses: sarisia/actions-status-discord@v1
# if: success()
# with:
# title: ✅ 개발 환경 CI 성공 ✅
# webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
# color: 0x00FF00
# username: 페페훅
#
# - name: CI Failure Notification
# uses: sarisia/actions-status-discord@v1
# if: failure()
# with:
# title: ❗️개발 환경 CI 실패 ❗️
# webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
# color: 0xFF0000
# username: 페페훅