From b7ee1b91fdb15f9238b625b4b66df8cf85492ece Mon Sep 17 00:00:00 2001 From: zarazaex69 Date: Mon, 13 Apr 2026 13:20:31 +0300 Subject: [PATCH] fix(ci): ensure build directory exists before gomobile bind --- magefile.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/magefile.go b/magefile.go index 22ccbef..8fbbab7 100644 --- a/magefile.go +++ b/magefile.go @@ -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",