From 6760c878e0b57031db4ddfd1c13cf3450856bd65 Mon Sep 17 00:00:00 2001 From: UjuiUjuMandan <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Fri, 3 Jan 2025 07:58:06 +0000 Subject: [PATCH] fix --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ce663998..dc82eff28 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: - name: Build libhysteria2 if: steps.cache-libhysteria2-check.outputs.cache-hit != 'true' run: | - cd ${{ github.workspace }}/hyseria + cd ${{ github.workspace }}/hysteria go build -v -o libs/$FOLDER/libhysteria2.so -trimpath -ldflags "-s -w -buildid=" ./app env: CC: ${{ steps.setup-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/linux-x86_64/bin/${{ matrix.target.ndk_target }}-clang @@ -77,6 +77,7 @@ jobs: v2rayNG: runs-on: ubuntu-latest + needs: libhysteria2 steps: - name: Checkout code @@ -147,7 +148,7 @@ jobs: - name: Copy libtun2socks run: | - cp -r ${{ github.workspace }}/build/AndroidLibV2rayLite/libs/* ${{ github.workspace }}/V2rayNG/app/libs/ + cp -r ${{ github.workspace }}/build/AndroidLibV2rayLite/libs ${{ github.workspace }}/V2rayNG/app - name: Restore cached libhysteria2 uses: actions/cache/restore@v4