File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 27
27
# APPLE_CERTIFICATE_PASSWORD: $({ secrets.APPLE_CERTIFICATE_PASSWORD })
28
28
# SHA-1 fingerprint of the test certificate; codesign accepts this format.
29
29
# APPLE_CODESIGN_IDENTITY: 4E7E4C6F30634C3C9E308723F109FE7C83C061ED
30
- CODESIGN_DEBUG : false
30
+ CODESIGN_DEBUG : true
31
31
32
32
jobs :
33
33
tag-check :
@@ -170,6 +170,13 @@ jobs:
170
170
security import "$cert_path" -k "$keychain_path" -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign -T /usr/bin/security
171
171
security set-key-partition-list -S apple-tool:,apple: -s -k "$KEYCHAIN_PASSWORD" "$keychain_path"
172
172
173
+ if [[ "${CODESIGN_DEBUG:-}" == "true" ]]; then
174
+ echo "::group::Imported signing identities"
175
+ security find-identity -v -p codesigning "$keychain_path" || true
176
+ security find-certificate -a -Z "$keychain_path" || true
177
+ echo "::endgroup::"
178
+ fi
179
+
173
180
codesign_hashes=()
174
181
while IFS= read -r hash; do
175
182
[[ -n "$hash" ]] && codesign_hashes+=("$hash")
@@ -196,13 +203,6 @@ jobs:
196
203
export APPLE_CODESIGN_IDENTITY
197
204
echo "Resolved codesign identity: $APPLE_CODESIGN_IDENTITY"
198
205
199
- if [[ "${CODESIGN_DEBUG:-}" == "true" ]]; then
200
- echo "::group::Imported signing identities"
201
- security find-identity -v -p codesigning "$keychain_path" || true
202
- security find-certificate -a -Z "$keychain_path" || true
203
- echo "::endgroup::"
204
- fi
205
-
206
206
rm -f "$cert_path"
207
207
208
208
echo "APPLE_CODESIGN_IDENTITY=$APPLE_CODESIGN_IDENTITY" >> "$GITHUB_ENV"
You can’t perform that action at this time.
0 commit comments