File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments