From 73bc56d66ec929890215dae03eb5b0d6b39e08f7 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Wed, 7 Feb 2024 12:28:46 +0100 Subject: [PATCH] Update conditions --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4f076cc6..a2fb570e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -147,7 +147,7 @@ jobs: 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 }} - name: Export notarized App from archive - if: env.UPLOAD_TO == 'ftp' + if: matrix.platform == 'macOS' && env.UPLOAD_TO == 'ftp' env: VERSION: ${{ env.VERSION }} run: python .github/retry-if-retcode.py --sleep 60 --attempts 20 --retcode 65 xcrun xcodebuild -exportNotarizedApp -archivePath $PWD/Kiwix-$VERSION.xcarchive -exportPath $PWD/export/ -allowProvisioningUpdates ${{ env.APPLE_AUTH_PARAMS }}