diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2800fd42..eb9e83b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,25 +22,25 @@ jobs: fetch-depth: '0' - name: Setup Android SDK - uses: android-actions/setup-android@v4.0.1 + uses: android-actions/setup-android@v4 with: log-accepted-android-sdk-licenses: false - cmdline-tools-version: '13114758' - packages: 'platforms;android-36.1 build-tools;36.1.0 platform-tools' + cmdline-tools-version: '14742923' + packages: 'platforms;android-37.0 build-tools;37.0.0 platform-tools' - name: Install NDK run: | echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager \ --channel=0 \ - --install "ndk;28.2.13676358" - echo "NDK_HOME=$ANDROID_HOME/ndk/28.2.13676358" >> $GITHUB_ENV + --install "ndk;29.0.14206865" + echo "NDK_HOME=$ANDROID_HOME/ndk/29.0.14206865" >> $GITHUB_ENV sed -i '10i\ \ - ndkVersion = "28.2.13676358"' ${{ github.workspace }}/V2rayNG/app/build.gradle.kts + ndkVersion = "29.0.14206865"' ${{ github.workspace }}/V2rayNG/app/build.gradle.kts - name: Restore cached libhevtun id: cache-libhevtun-restore - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ github.workspace }}/libs key: libhevtun-${{ runner.os }}-${{ env.NDK_HOME }}-${{ hashFiles('.git/modules/hev-socks5-tunnel/HEAD') }}-${{ hashFiles('compile-hevtun.sh') }} @@ -52,7 +52,7 @@ jobs: - name: Save libhevtun if: steps.cache-libhevtun-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ github.workspace }}/libs key: libhevtun-${{ runner.os }}-${{ env.NDK_HOME }}-${{ hashFiles('.git/modules/hev-socks5-tunnel/HEAD') }}-${{ hashFiles('compile-hevtun.sh') }}