Skip to content

Commit

Permalink
match more
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Dec 23, 2024
1 parent a78a5e3 commit 39c432e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,16 @@ jobs:
with:
go-version: '1.23.4'
cache: false
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

- 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]
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

- name: Build libv2ray
if: steps.cache-libv2ray-restore.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -114,13 +118,15 @@ jobs:

- name: Setup Android environment
uses: android-actions/setup-android@v3
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

- name: Build APK
run: |
cd ${{ github.workspace }}/V2rayNG
chmod 755 gradlew
./gradlew licenseFdroidReleaseReport
./gradlew assembleDebug
./gradlew assembleFdroidRelease
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

Expand Down

0 comments on commit 39c432e

Please sign in to comment.