Skip to content

Commit d7b8e47

Browse files
committed
Update build-macos.yml
1 parent a3d4032 commit d7b8e47

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,18 @@ jobs:
131131
echo "No .app found under ../VSCode-darwin-arm64"
132132
exit 1
133133
fi
134-
SIGN_IDENTITY="$(security find-identity -v -p codesigning | sed -n 's/.*\"\\(Developer ID Application:.*\\)\".*/\\1/p' | head -n 1)"
134+
SIGN_IDENTITY="$(security find-identity -v -p codesigning build.keychain | sed -n 's/.*\"\\(Developer ID Application:.*\\)\".*/\\1/p' | head -n 1)"
135135
if [ -z "$SIGN_IDENTITY" ]; then
136136
echo "No Developer ID Application identity found"
137137
exit 1
138138
fi
139139
codesign --force --options runtime --timestamp \
140+
--keychain build.keychain \
140141
--entitlements build/azure-pipelines/darwin/app-entitlements.plist \
141142
--sign "$SIGN_IDENTITY" "$APP_PATH"
142143
codesign --verify --deep --strict --verbose=2 "$APP_PATH"
143144
145+
144146
- name: Notarize and staple
145147
env:
146148
APPLE_ID: ${{ secrets.APPLE_ID }}

0 commit comments

Comments
 (0)