diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6480540c..7b1731bef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,7 +85,7 @@ jobs: - name: Install gomobile if: steps.cache-libv2ray-restore.outputs.cache-hit != 'true' run: | - CGO_ENABLED=0 go install -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/gomobile@v0.1.4 + CGO_ENABLED=0 go install -trimpath github.com/sagernet/gomobile/cmd/gomobile@v0.1.4 echo "$(go env GOPATH)/bin" >> $GITHUB_PATH env: ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} @@ -99,7 +99,7 @@ jobs: cd ${{ github.workspace }}/build/AndroidLibXrayLite gomobile init go mod tidy -v - gomobile bind -trimpath -buildvcs=false -v -androidapi 21 -ldflags='-s -w -buildid=' ./ + gomobile bind -trimpath -buildvcs=false -v -androidapi 21 -ldflags='-buildid=' ./ env: ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}