Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 4a35852

Browse files
committed
fix: notary python zipped folder
1 parent 7af1352 commit 4a35852

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,14 @@ jobs:
193193
codesign --force --entitlements="/tmp/entitlements.plist" -s "${{ secrets.DEVELOPER_ID }}" --options=runtime ${{env.PYTHON_FOLDER}}/bin/python
194194
codesign --force --entitlements="/tmp/entitlements.plist" -s "${{ secrets.DEVELOPER_ID }}" --options=runtime ${{env.PYTHON_FOLDER}}/bin/python3
195195
# Code sign all .so files and .dylib files
196-
197-
find ${{env.PYTHON_FOLDER}} -type f \( -name "*.so" \) -exec codesign --deep --force --entitlements="/tmp/entitlements.plist" -s "${{ secrets.DEVELOPER_ID }}" {} \;
198-
find ${{env.PYTHON_FOLDER}} -type f \( -name "*.dylib" \) -exec codesign --deep --force -s "${{ secrets.DEVELOPER_ID }}" {} \;
196+
197+
find ${{env.PYTHON_FOLDER}} -type f \( -name "*.so" -o -name "*.dylib" \) -exec codesign --force --entitlements="/tmp/entitlements.plist" -s "${{ secrets.DEVELOPER_ID }}" --options=runtime {} \;
199198
200199
curl -sSfL https://raw.githubusercontent.com/anchore/quill/main/install.sh | sudo sh -s -- -b /usr/local/bin
201200
# Notarize the binary
202201
quill notarize ${{env.PYTHON_FOLDER}}/bin/python
203202
quill notarize ${{env.PYTHON_FOLDER}}/bin/python3
203+
find ${{env.PYTHON_FOLDER}} -type f \( -name "*.so" -o -name "*.dylib" \) -exec quill notarize {} \;
204204
env:
205205
QUILL_NOTARY_KEY_ID: ${{ secrets.NOTARY_KEY_ID }}
206206
QUILL_NOTARY_ISSUER: ${{ secrets.NOTARY_ISSUER }}

0 commit comments

Comments
 (0)