From f21ae0e11cd89c8c408b461ff2260b100dd8274f Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Mon, 13 Apr 2026 11:37:51 +0200 Subject: [PATCH] fix notarization of dmg files on workflow calls --- .github/workflows/mac-dmg-x64.yml | 2 +- .github/workflows/mac-dmg.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mac-dmg-x64.yml b/.github/workflows/mac-dmg-x64.yml index 9786b452f..7b6ce4a4c 100644 --- a/.github/workflows/mac-dmg-x64.yml +++ b/.github/workflows/mac-dmg-x64.yml @@ -261,7 +261,7 @@ jobs: env: CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }} - name: Notarize .dmg - if: startsWith(github.ref, 'refs/tags/') || inputs.notarize || github.event_name == 'schedule' + if: inputs.notarize || github.event_name == 'workflow_call' && inputs.is-release || github.event_name == 'schedule' uses: cocoalibs/xcode-notarization-action@5cf433d494b6fa26504b574c591f4dd120388846 # v1.0.3 with: app-path: 'Cryptomator-*.dmg' diff --git a/.github/workflows/mac-dmg.yml b/.github/workflows/mac-dmg.yml index 1aa0654c5..89c784a3b 100644 --- a/.github/workflows/mac-dmg.yml +++ b/.github/workflows/mac-dmg.yml @@ -260,7 +260,7 @@ jobs: env: CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }} - name: Notarize .dmg - if: startsWith(github.ref, 'refs/tags/') || inputs.notarize || github.event_name == 'schedule' + if: inputs.notarize || github.event_name == 'workflow_call' && inputs.is-release || github.event_name == 'schedule' uses: cocoalibs/xcode-notarization-action@5cf433d494b6fa26504b574c591f4dd120388846 # v1.0.3 with: app-path: 'Cryptomator-*.dmg'