Skip to content

Commit 1436d3b

Browse files
author
Alberto Iannaccone
committed
boost notarization speed
1 parent af08c7e commit 1436d3b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
AC_USERNAME: ${{ secrets.AC_USERNAME }}
5252
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
53+
AC_TEAM_ID: ${{ secrets.AC_TEAM_ID }}
5354
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
5455
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
5556
IS_NIGHTLY: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}

electron/build/scripts/notarize.js

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ exports.default = async function notarizing(context) {
3131
appPath: `${appOutDir}/${appName}.app`,
3232
appleId: process.env.AC_USERNAME,
3333
appleIdPassword: process.env.AC_PASSWORD,
34+
teamId: process.env.AC_TEAM_ID,
35+
tool: 'notarytool',
3436
});
3537
return await recalculateHash();
3638
};

electron/build/template-package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@theia/cli": "1.22.1",
1515
"cross-env": "^7.0.2",
1616
"electron-builder": "22.10.5",
17-
"electron-notarize": "^0.3.0",
17+
"electron-notarize": "^1.1.1",
1818
"is-ci": "^2.0.0",
1919
"ncp": "^2.0.0",
2020
"shelljs": "^0.8.3",

0 commit comments

Comments
 (0)