Skip to content

Commit 35fd319

Browse files
committed
Lets take a look at the log
1 parent ec28866 commit 35fd319

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/rust-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
# APPLE_CERTIFICATE_PASSWORD: $({ secrets.APPLE_CERTIFICATE_PASSWORD })
2828
# SHA-1 fingerprint of the test certificate; codesign accepts this format.
2929
# APPLE_CODESIGN_IDENTITY: 4E7E4C6F30634C3C9E308723F109FE7C83C061ED
30-
CODESIGN_DEBUG: false
30+
CODESIGN_DEBUG: true
3131

3232
jobs:
3333
tag-check:
@@ -170,6 +170,13 @@ jobs:
170170
security import "$cert_path" -k "$keychain_path" -P "$APPLE_CERTIFICATE_PASSWORD" -T /usr/bin/codesign -T /usr/bin/security
171171
security set-key-partition-list -S apple-tool:,apple: -s -k "$KEYCHAIN_PASSWORD" "$keychain_path"
172172
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+
173180
codesign_hashes=()
174181
while IFS= read -r hash; do
175182
[[ -n "$hash" ]] && codesign_hashes+=("$hash")
@@ -196,13 +203,6 @@ jobs:
196203
export APPLE_CODESIGN_IDENTITY
197204
echo "Resolved codesign identity: $APPLE_CODESIGN_IDENTITY"
198205
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-
206206
rm -f "$cert_path"
207207
208208
echo "APPLE_CODESIGN_IDENTITY=$APPLE_CODESIGN_IDENTITY" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)