File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 5252
5353 - name : Create IAP .p8 Key
5454 run : |
55- echo "${{ secrets.APPLE_IAP_KEY }}" > ./src/main/resources/keys/${{ secrets.APPLE_IAP_KEY_NAME }}
55+ echo "${{ secrets.APPLE_IAP_KEY_PROD }}" > ./src/main/resources/keys/SubscriptionKey_62QGYSCKW2.p8
56+
57+ # 키 파일 크기 확인 (내용은 로그에 출력하지 않음)
58+ if [ -s "./src/main/resources/keys/SubscriptionKey_62QGYSCKW2.p8" ]; then
59+ echo "✅ IAP key file created: $(wc -c < ./src/main/resources/keys/SubscriptionKey_62QGYSCKW2.p8) bytes"
60+ else
61+ echo "❌ IAP key file is empty!"
62+ exit 1
63+ fi
64+
65+ # PEM 형식 확인
66+ if grep -q "BEGIN PRIVATE KEY" ./src/main/resources/keys/SubscriptionKey_62QGYSCKW2.p8; then
67+ echo "✅ IAP key file appears to be in PEM format"
68+ else
69+ echo "⚠️ IAP key file may not be in PEM format"
70+ fi
5671 shell : bash
5772 # APPLE IN_APP 결제 관련 프로세스 끝
5873
You can’t perform that action at this time.
0 commit comments