flutter/install_sdk_and_pub
使用 Flutter 版本参数执行 CircleCI/flutter orb 命令时出现奇怪的错误:
Error calling workflow: 'distribute'Error calling job: 'distribute'Error calling command: 'flutter/install_sdk_and_pub'Unexpected argument(s): version
完整的 yaml 文件:
orbs:
flutter: circleci/flutter@1.0.1
jobs:
distribute:
macos:
xcode: 12.8.1
steps:
- checkout
- flutter/install_sdk_and_pub:
version: 2.2.3
app-dir: ./app
- flutter/install_ios_pod:
app-dir: ./app
- flutter/install_ios_gem:
app-dir: ./app
- run:
command: bundle exec fastlane ios distribute
working_directory: ios
workflows:
distribute:
jobs:
- distribute```