From 2c5a035967ffb106cb36ce7fd5daee684ea29fa6 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Sun, 14 Jan 2024 19:49:36 -0500 Subject: [PATCH] Update build-android.yml --- .github/workflows/build-android.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index ee93096..593f206 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -23,10 +23,10 @@ jobs: with: go-version: '1.21.4' # Specify the Go version - - name: Install gomobile + - name: Install and Initialize gomobile run: | - go get golang.org/x/mobile/bind@latest - echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV + go install golang.org/x/mobile/cmd/gomobile@latest + gomobile init echo "$(go env GOPATH)/bin" >> $GITHUB_PATH - name: Install gomobile