From a581f44849eb3493231e1a0637cefbd431c76941 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Wed, 7 Feb 2024 12:00:43 +0100 Subject: [PATCH] Change if condition --- .github/workflows/cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ee4b8af8..4f076cc6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -141,6 +141,7 @@ jobs: plutil -insert method -string $EXPORT_METHOD ./export.plist - name: Upload Archive to Apple (App Store or Notarization) + if: env.UPLOAD_TO != '' env: VERSION: ${{ env.VERSION }} run: python .github/retry-if-retcode.py --sleep 60 --attempts 5 --retcode 70 xcrun xcodebuild -exportArchive -archivePath $PWD/Kiwix-$VERSION.xcarchive -exportPath $PWD/export/ -exportOptionsPlist export.plist -allowProvisioningUpdates ${{ env.APPLE_AUTH_PARAMS }}