Skip to content

Commit

Permalink
Revert "remove '-s -w'"
Browse files Browse the repository at this point in the history
This reverts commit ce708f7.
  • Loading branch information
UjuiUjuMandan committed Dec 28, 2024
1 parent 2a3cbe9 commit 2978e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Install gomobile
if: steps.cache-libv2ray-restore.outputs.cache-hit != 'true'
run: |
CGO_ENABLED=0 go install -trimpath github.com/sagernet/gomobile/cmd/[email protected]
CGO_ENABLED=0 go install -trimpath -ldflags="-w -s" github.com/sagernet/gomobile/cmd/[email protected]
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
Expand All @@ -102,7 +102,7 @@ jobs:
cd ${{ github.workspace }}/build/AndroidLibXrayLite
gomobile init
go mod tidy -v
gomobile bind -trimpath -buildvcs=false -v -androidapi 21 -ldflags='-buildid=' ./
gomobile bind -trimpath -buildvcs=false -v -androidapi 21 -ldflags='-s -w -buildid=' ./
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
Expand Down

0 comments on commit 2978e3d

Please sign in to comment.