Skip to content

Commit 4cfec99

Browse files
committed
Fix signing of install_oobee_dependencies.command and related scripts on Mac
1 parent e06dacc commit 4cfec99

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,18 @@ jobs:
146146
chmod -R u+w "$GITHUB_WORKSPACE/oobee"
147147
148148
# Sign all Mach-O (exec bits OR dylib OR node native addons)
149+
# Search $GITHUB_WORKSPACE (not just oobee/) to cover scripts copied to the parent dir
149150
while IFS= read -r f; do
150151
echo "Signing $f"
151152
codesign --force --options runtime --timestamp --sign "${CERTIFICATE_NAME}" "$f"
152153
done < <(
153-
find "$GITHUB_WORKSPACE/oobee" -type f \
154+
find "$GITHUB_WORKSPACE" -type f \
154155
\( -perm -111 -o -name "*.dylib" -o -name "*.node" \) \
155156
! -path "*/.git/*"
156157
)
157158
158159
echo "Verifying signatures of Mach-O files..."
159-
find "$GITHUB_WORKSPACE/oobee" -type f \( -perm -111 -o -name "*.dylib" -o -name "*.node" \) \
160+
find "$GITHUB_WORKSPACE" -type f \( -perm -111 -o -name "*.dylib" -o -name "*.node" \) \
160161
-exec codesign --verify --strict --verbose=2 {} \; || true
161162
162163
- name: Cleanup keychain

0 commit comments

Comments
 (0)