fix(ci): ensure build directory exists before gomobile bind

This commit is contained in:
zarazaex69
2026-04-13 13:20:31 +03:00
parent 0afe9dca0c
commit b7ee1b91fd

View File

@@ -112,6 +112,9 @@ func Mobile() error {
if err := ensureTool("gomobile"); err != nil {
return fmt.Errorf("gomobile not found: run 'go install golang.org/x/mobile/cmd/gomobile@latest && gomobile init'")
}
if err := ensureBuildDir(); err != nil {
return err
}
return sh.RunV("gomobile", "bind",
"-target=android",
"-androidapi", "21",