Skip to content

Commit 3a35dcd

Browse files
override notarize when false
1 parent b072770 commit 3a35dcd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/xcode.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,10 @@ export async function GetProjectDetails(credential: AppleCredential, xcodeVersio
180180
if (projectRef.platform === 'macOS') {
181181
const notarizeInput = core.getInput('notarize') || 'true';
182182
core.debug(`Notarize input: ${notarizeInput}`);
183-
projectRef.notarize =
184-
notarizeInput === 'true' ||
185-
projectRef.isSteamBuild ||
186-
projectRef.archiveType === 'pkg' ||
187-
projectRef.archiveType === 'dmg';
183+
projectRef.notarize = notarizeInput === 'true' &&
184+
(projectRef.isSteamBuild ||
185+
projectRef.archiveType === 'pkg' ||
186+
projectRef.archiveType === 'dmg');
188187
let output = '';
189188
await exec('security', [
190189
'find-identity',

0 commit comments

Comments
 (0)