File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 39
39
restore-keys : |
40
40
${{ runner.os }}-gradle-
41
41
42
+ # 설정 파일 생성
43
+ - run : |
44
+ mkdir ./src/main/resources
45
+ cd ./src/main/resources
46
+ touch ./application.yml
47
+ echo "${{env.APPLICATION}}" > ./application.yml
48
+ touch ./firebase-key.json
49
+ echo "${{env.GOOGLE_APPLICATION_CREDENTIALS}}" | base64 --decode > ./firebase-key.json
50
+ touch ./apple-key.p8
51
+ echo "${{env.APPLE_KEY}}" > ./apple-key.p8
52
+
53
+ # 설정 파일을 작업공간에 저장
54
+ - uses : actions/upload-artifact@v2
55
+ with :
56
+ name : application.yml
57
+ path : ./src/main/resources/application.yml
58
+
59
+ - uses : actions/upload-artifact@v2
60
+ with :
61
+ name : firebase-key.json
62
+ path : ./src/main/resources/firebase-key.json
63
+
64
+ - uses : actions/upload-artifact@v2
65
+ with :
66
+ name : apple-key.p8
67
+ path : ./src/main/resources/apple-key.p8
68
+
42
69
# gradlew 권한 설정
43
70
- name : Grant execute permission for gradlew
44
71
run : chmod +x gradlew
55
82
run : |
56
83
rm -f ~/.gradle/caches/modules-2/modules-2.lock
57
84
rm -f ~/.gradle/caches/modules-2/gc.properties
85
+
Original file line number Diff line number Diff line change 39
39
restore-keys : |
40
40
${{ runner.os }}-gradle-
41
41
42
+ # 설정 파일 생성
43
+ - run : |
44
+ mkdir ./src/main/resources
45
+ cd ./src/main/resources
46
+ touch ./application.yml
47
+ echo "${{env.APPLICATION}}" > ./application.yml
48
+ touch ./firebase-key.json
49
+ echo "${{env.GOOGLE_APPLICATION_CREDENTIALS}}" | base64 --decode > ./firebase-key.json
50
+ touch ./apple-key.p8
51
+ echo "${{env.APPLE_KEY}}" > ./apple-key.p8
52
+
53
+ # 설정 파일을 작업공간에 저장
54
+ - uses : actions/upload-artifact@v2
55
+ with :
56
+ name : application.yml
57
+ path : ./src/main/resources/application.yml
58
+
59
+ - uses : actions/upload-artifact@v2
60
+ with :
61
+ name : firebase-key.json
62
+ path : ./src/main/resources/firebase-key.json
63
+
64
+ - uses : actions/upload-artifact@v2
65
+ with :
66
+ name : apple-key.p8
67
+ path : ./src/main/resources/apple-key.p8
68
+
42
69
# gradlew 권한 설정
43
70
- name : Grant execute permission for gradlew
44
71
run : chmod +x gradlew
You can’t perform that action at this time.
0 commit comments