Skip to content

Commit

Permalink
arguments for rb
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Dec 22, 2024
1 parent 3b1dfca commit f30137e
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 @@ -82,7 +82,7 @@ jobs:
- name: Install gomobile
if: steps.cache-libv2ray-restore.outputs.cache-hit != 'true'
run: |
go install 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
- name: Build libv2ray
Expand All @@ -91,7 +91,7 @@ jobs:
cd ${{ github.workspace }}/build/AndroidLibXrayLite
gomobile init
go mod tidy -v
gomobile bind -v -androidapi 21 -ldflags='-s -w' ./
gomobile bind -trimpath -buildvcs=false -v -androidapi 21 -ldflags='-s -w -buildid=' ./
- name: Save libv2ray
if: steps.cache-libv2ray-restore.outputs.cache-hit != 'true'
Expand Down

0 comments on commit f30137e

Please sign in to comment.