From 6c62f59aaa3431d30f23ff5121367980a46f2c94 Mon Sep 17 00:00:00 2001 From: Roy Shilkrot Date: Wed, 30 Oct 2024 12:02:14 -0400 Subject: [PATCH] Refactor build.yaml to fix stapler validation issue --- .github/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ef5e39f..5702d27 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -195,11 +195,12 @@ jobs: "${{ secrets.APPLE_DEVELOPER_ID_PASSWORD }}" --team-id \ "${{ secrets.APPLE_DEVELOPER_ID_TEAM }}" --wait --verbose chmod 755 dist/note-taker - xcrun stapler staple dist/note-taker + xcrun stapler staple -f dist/note-taker - name: Verify Notarization if: startsWith(matrix.os, 'macos') run: | + xcrun stapler validate dist/note-taker spctl -a -v dist/note-taker rm note-taker.zip