Skip to content

Commit 7b6d4c6

Browse files
os-zhuangCopilot
andcommitted
ci(one): debug step printing Apple secret lengths
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ea1f013 commit 7b6d4c6

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/one.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,25 @@ jobs:
118118
119119
rm -f "$CERT_PATH"
120120
121+
- name: Debug Apple secret presence
122+
if: runner.os == 'macOS'
123+
env:
124+
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
125+
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
126+
APPLE_ID: ${{ secrets.APPLE_ID }}
127+
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
128+
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
129+
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
130+
run: |
131+
# Print only the byte-length of each Apple secret so we can
132+
# tell whether the value reached the runner without leaking it.
133+
echo "APPLE_CERTIFICATE length=${#APPLE_CERTIFICATE}"
134+
echo "APPLE_CERTIFICATE_PASSWORD length=${#APPLE_CERTIFICATE_PASSWORD}"
135+
echo "APPLE_SIGNING_IDENTITY length=${#APPLE_SIGNING_IDENTITY}"
136+
echo "APPLE_TEAM_ID length=${#APPLE_TEAM_ID}"
137+
echo "APPLE_ID length=${#APPLE_ID}"
138+
echo "APPLE_PASSWORD length=${#APPLE_PASSWORD}"
139+
121140
- name: Build Tauri bundle
122141
env:
123142
# AppImage tools need FUSE on Linux; ubuntu-22.04 dropped it.

0 commit comments

Comments
 (0)