From df2188e4c03af3608618068f697e4a473ea9ec6b Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Tue, 31 Dec 2024 11:22:50 +0100 Subject: [PATCH] Prevent useless duplicate warning reg. notarization --- .github/workflows/build_macos.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_macos.yml b/.github/workflows/build_macos.yml index fdba9fed11a83..ddbc194cd5b16 100644 --- a/.github/workflows/build_macos.yml +++ b/.github/workflows/build_macos.yml @@ -67,8 +67,7 @@ jobs: if [ -z "${{ secrets.APPLE_USERNAME }}" ]; then echo "::warning::APPLE_USERNAME is empty; notarization disabled" DO_NOTARIZE='false' - fi - if [ -z "${{ secrets.APPLE_PASSWORD }}" ]; then + elif [ -z "${{ secrets.APPLE_PASSWORD }}" ]; then echo "::warning::APPLE_PASSWORD is empty, notarization disabled" DO_NOTARIZE='false' fi