From 1288df3f23abc583566e40953ed742b64b6f0136 Mon Sep 17 00:00:00 2001 From: test Date: Sat, 4 Nov 2023 03:03:23 +0530 Subject: [PATCH] fix: sign script --- .github/workflows/tauri-build-dev.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tauri-build-dev.yml b/.github/workflows/tauri-build-dev.yml index f10723df..c9a51e29 100644 --- a/.github/workflows/tauri-build-dev.yml +++ b/.github/workflows/tauri-build-dev.yml @@ -140,12 +140,9 @@ jobs: security create-keychain -p tmp-password build.keychain security default-keychain -s build.keychain security unlock-keychain -p tmp-password build.keychain - security import $cert_path -k build.keychain -P $certificate_password -T /usr/bin/codesign + security import "$cert_path" -k build.keychain -P "$certificate_password" -T /usr/bin/codesign security set-key-partition-list -S apple-tool:,apple: -s -k tmp-password build.keychain - set -x - ls src-tauri/src-node/node_modules/fsevents/ - pwd - codesign --force --verbose --sign "$APPLE_KEY_IDENTITY_NAME" --keychain build.keychain --timestamp --options runtime "src-tauri/src-node/node_modules/fsevents/fsevents.node" + cat src-build/mac/filesToSign | xargs codesign --sign "$APPLE_KEY_IDENTITY_NAME" --keychain build.keychain --timestamp --options runtime shell: bash