subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.16k stars 193 forks source link

flex_color_scheme issue #229

Closed mlab817 closed 1 year ago

mlab817 commented 1 year ago

Any way to bypass/work around on this issue? I keep getting this error because flex_color_scheme requires a higher SDK version.

The current Dart SDK version is 2.19.4.

Because pips depends on flex_color_scheme >=7.1.0 which requires SDK version >=3.0.0 <4.0.0, version solving failed.
pub get failed
command: "/opt/hostedtoolcache/flutter/stable-3.7.7-x64/bin/cache/dart-sdk/bin/dart __deprecated_pub --directory . get --example"
pub env: {
  "FLUTTER_ROOT": "/opt/hostedtoolcache/flutter/stable-3.7.7-x64",
  "PUB_ENVIRONMENT": "flutter_bot:flutter_cli:get",
  "PUB_CACHE": "/opt/hostedtoolcache/flutter/stable-3.7.7-x64/.pub-cache",
}
exit code: 1
kuhnroyal commented 1 year ago

Use a higher SDK version?