diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index b47cb2d..88ce7be 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -28,14 +28,14 @@ jobs: - name: Install gomobile run: | go install golang.org/x/mobile/cmd/gomobile@latest - gomobile init + ~/go/bin/gomobile init - name: Build Yggdrasil run: | - mkdir app/libs - cd yggdrasil-go - ./contrib/mobile/build -a - cp {yggdrasil.aar,yggdrasil-sources.aar} ../app/libs + mkdir app/libs + cd yggdrasil-go + PATH=$PATH:~/go/bin/ ./contrib/mobile/build -a + cp {yggdrasil.aar,yggdrasil-sources.aar} ../app/libs - name: Set up JDK 11 uses: actions/setup-java@v3