-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (31 loc) · 967 Bytes
/
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
# name: CI
# on:
# pull_request:
# branches: [ "develop" ]
# jobs:
# build:
# runs-on: ubuntu-22.04
# steps:
# - name: checkout
# uses: actions/checkout@v3
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# distribution: 'corretto'
# java-version: '17'
# - name: create application-secret.yml
# run: |
# # create application-secret.yml
# cd ./src/main/resources
# # application-secret.yml 파일 생성
# touch ./application-secret.yml
# # GitHub-Actions 에서 설정한 값을 application-secret.yml 파일에 쓰기..git
# echo "${{ secrets.CI_APPLICATION }}" >> ./application-secret.yml
# # application.yml 파일 확인
# cat ./application-secret.yml
# shell: bash
# - name: build
# run: |
# chmod +x gradlew
# ./gradlew build -x test
# shell: bash