-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (41 loc) · 1.16 KB
/
maeilmail-main-ci.yml
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
48
49
name: 매일메일 CI(v1)
permissions:
contents: write
pull-requests: write
checks: write
on:
pull_request:
branches:
- 'main'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Github Checkout
uses: actions/checkout@v3
- name: JDK 17 구성
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
cache: 'gradle'
- name: Gradlew Wrapper 실행 권한 부여
run: chmod +x gradlew
- name: Gradle 캐싱
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Gradle 빌드
run: ./gradlew clean build
- name: 테스트 결과 출력
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
./maeil-mail/build/test-results/**/*.xml
./maeil-wiki/build/test-results/**/*.xml
./maeil-support/build/test-results/**/*.xml