subosito / flutter-action

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

bug: can't run flutter on macOS #146

Closed SiongSng closed 2 years ago

SiongSng commented 2 years ago

The system architecture of GitHub Action is x86 not arm64, so should download the x86 archive. Error: Bad CPU type in executable PR: https://github.com/subosito/flutter-action/pull/147 image image

MATTYGILO commented 2 years ago

How do I get the fix?

subosito commented 2 years ago

@MATTYGILO For now, you can use subosito/flutter-action@main. I will be releasing a new version soon.

zhujiageng commented 2 years ago

@subosito after use subosito/flutter-action@main, i got error: Because every version of flutter from sdk depends on sky_engine from sdk which is forbidden, flutter from sdk is forbidden. So, because arcsite_flutter depends on flutter from sdk, version solving failed.