Skip to content

Commit c37252a

Browse files
committed
Attempting to fix macOS build Action bug
1 parent c0d360a commit c37252a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-electron.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ jobs:
198198
echo "Stapling notarization ticket to ${dmg_path}"
199199
xcrun stapler staple "$dmg_path"
200200
xcrun stapler validate "$dmg_path"
201-
spctl --assess --type open --context context:primary-signature --verbose "$dmg_path"
202201
done
203202
204203
- name: Upload workflow artifacts

electron/electronBuild.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ describe("Electron build configuration", () => {
170170
expect(workflow).toContain("APPLE_APP_SPECIFIC_PASSWORD");
171171
expect(workflow).toContain("xcrun notarytool submit");
172172
expect(workflow).toContain("xcrun stapler staple");
173+
expect(workflow).toContain("xcrun stapler validate");
174+
expect(workflow).not.toContain("context:primary-signature");
173175
expect(workflow).toContain("AZURE_TENANT_ID");
174176
expect(workflow).toContain("AZURE_CLIENT_SECRET");
175177
expect(workflow).toContain("needs: build");

0 commit comments

Comments
 (0)