snapcraft-multiarch-action
snapcraft-multiarch-action copied to clipboard
Flutter build broken. error: unknown command "channel"
I previously used snapcore/action-build
to build and it builds Flutter projects successfully. I migrated to snapcraft-multiarch-action
as I need arm64 builds, but Flutter build seems to be broken:
...
Run health check of "gtk-common-themes" snap -
25hgtk-common-themes 0.1-52-gb92ac40 from Canonical✓ installed
Pulling flutter-extension
+ flutter channel stable
error: unknown command "channel", see 'snap help'.
Failed to run 'override-pull': Exit code was 64.
Error: No snap files produced by build
Here is the full log: https://github.com/proninyaroslav/libretrack/runs/3414045204?check_suite_focus=true Workflow file: https://github.com/proninyaroslav/libretrack/blob/master/.github/workflows/flutter_release_build.yml#L92 Snapcraft metadata: https://github.com/proninyaroslav/libretrack/blob/master/snap/snapcraft.yaml