File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI-INFRA
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ "infra-test" ]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-22.04
10
+ env :
11
+ working-directory : linkmind
12
+
13
+ steps :
14
+ - name : 체크아웃
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Set up JDK 17
18
+ uses : actions/setup-java@v3
19
+ with :
20
+ distribution : ' corretto'
21
+ java-version : ' 17'
22
+
23
+ - name : application.yaml 생성
24
+ run : |
25
+ cd src/main/resources
26
+ echo "${{ secrets.APPLICATION_INFRA_TEST }}" > ./application.yaml
27
+ working-directory : ${{ env.working-directory }}
28
+
29
+ - name : toaster-firebase-admin-sdk.json 생성
30
+ run : |
31
+ cd src/main/resources
32
+ echo "${{ secrets.TOASTER_FIREBASE_ADMIN_SDK }}" > ./toaster-firebase-admin-sdk.json
33
+ working-directory : ${{ env.working-directory }}
34
+
35
+ - name : 빌드
36
+ run : |
37
+ chmod +x gradlew
38
+ ./gradlew build -x test
39
+ working-directory : ${{ env.working-directory }}
40
+ shell : bash
You can’t perform that action at this time.
0 commit comments