-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.06 KB
/
Copy pathCI-develop.yml
File metadata and controls
41 lines (35 loc) · 1.06 KB
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
# workflow 이름: CI-develop
name: CI-develop
# trigger: dev 브랜치에 PR 발생할 때
on:
pull_request:
branches: [ "dev" ]
# workflow의 세부 작업 단위 job 정의
jobs:
build-develop:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
submodules: true
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
shell: bash
- name: Build with Gradle
env:
DEV_DB_NAME: ${{ secrets.DEV_DB_NAME }}
DEV_DB_PWD: ${{ secrets.DEV_DB_PWD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
DEV_APPLE_KEY_NAME: ${{ secrets.DEV_APPLE_KEY_NAME }}
S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }}
S3_SECRET_KEY: ${{ secrets.S3_SECRET_KEY }}
run: ./gradlew build -x test
shell: bash