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 }}