Skip to content

Commit f6d2ecf

Browse files
committed
새 파일: .github/workflows/ios_debug.yml
1 parent 9073f8b commit f6d2ecf

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ios_debug.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: iOS Secrets Rerun Debug
2+
3+
4+
on:
5+
workflow_dispatch: # 수동 실행 가능
6+
7+
8+
jobs:
9+
rerun-debug:
10+
runs-on: macos-latest
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v4
14+
15+
16+
- name: Debug IOS_CERT_PASSWORD
17+
run: |
18+
echo "=== DEBUG: IOS_CERT_PASSWORD ==="
19+
echo "PASS len: ${#IOS_CERT_PASSWORD}"
20+
printf "'%s'\n" "$IOS_CERT_PASSWORD"
21+
22+
23+
- name: Debug KEYCHAIN_PASSWORD
24+
run: |
25+
echo "=== DEBUG: KEYCHAIN_PASSWORD ==="
26+
echo "PASS len: ${#KEYCHAIN_PASSWORD}"
27+
printf "'%s'\n" "$KEYCHAIN_PASSWORD"
28+
29+
30+
- name: Decode IOS_CERT_BASE64 → cert.p12
31+
run: |
32+
echo "=== DEBUG: IOS_CERT_BASE64 decode ==="
33+
echo "$IOS_CERT_BASE64" | base64 --decode > cert.p12
34+
file cert.p12
35+
ls -l cert.p12
36+
# 비밀번호로 확인 (실패해도 workflow 중단 안되게 || true)
37+
openssl pkcs12 -info -in cert.p12 -noout -passin pass:$IOS_CERT_PASSWORD || true
38+
39+
40+
- name: Decode IOS_PROVISION_PROFILE_BASE64
41+
run: |
42+
echo "=== DEBUG: IOS_PROVISION_PROFILE_BASE64 decode ==="
43+
echo "$IOS_PROVISION_PROFILE_BASE64" | base64 --decode > profile.mobileprovision
44+
ls -l profile.mobileprovision

0 commit comments

Comments
 (0)