revert to golang.org/x/mobile (#94)
This commit is contained in:
1 parent
0b8751b791
commit
90bd5ee711
4 files changed
+15
-15
No files matched your search
@@ -27,7 +27,7 @@ jobs:
|
||||
|
||||
- name: Install gomobile
|
||||
run: |
|
||||
CGO_ENABLED=0 go install -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/gomobile@latest
|
||||
CGO_ENABLED=0 go install -trimpath -ldflags="-w -s" golang.org/x/mobile/cmd/gomobile@latest
|
||||
export PATH=$PATH:~/go/bin
|
||||
|
||||
- name: Setup Android NDK
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
cp -v data/*.dat assets/
|
||||
gomobile init
|
||||
go mod tidy
|
||||
gomobile bind -v -androidapi 21 -trimpath -buildvcs=false -ldflags='-s -w -buildid=' ./
|
||||
gomobile bind -v -androidapi 21 -trimpath -ldflags='-s -w -buildid=' ./
|
||||
env:
|
||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user