Skip to content

Commit 4299baa

Browse files
committed
fix: notary python zipped folder
1 parent 7af1352 commit 4299baa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
jobs:
3131
build-and-test:
3232
runs-on: ${{ matrix.runs-on }}
33-
timeout-minutes: 60
33+
timeout-minutes: 360
3434
strategy:
3535
fail-fast: false
3636
matrix:
@@ -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)