Skip to content

Commit

Permalink
remove '-s -w'
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Dec 23, 2024
1 parent 4e8eb23 commit ce708f7
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 @@ -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/[email protected]
CGO_ENABLED=0 go install -trimpath 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 @@ -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 }}
Expand Down

0 comments on commit ce708f7

Please sign in to comment.