Android ndk Github操作未拾取更改以在非主分支中生成文件

Android ndk Github操作未拾取更改以在非主分支中生成文件,android-ndk,build.gradle,github-actions,Android Ndk,Build.gradle,Github Actions,当通过github操作构建我的android项目时,当托管该操作的服务器更新其NDK插件版本时,它总是失败。这也需要我更新我的版本。然而,这似乎从来都不简单 例如,在最近的一次更新中,我注意到NDK版本在服务器后面。因此,我将它使用的新版本下载到本地机器上,并更新了构建文件(包括本地NDK路径)。在确保它在本地机器上运行良好后,我将其推到分支机构。但是,服务器仍然认为它正在尝试在旧版本上构建,并且构建失败(即使我告诉gradle脚本使用新版本) 我可以成功地在master上进行此更新,是否有一些

当通过github操作构建我的android项目时,当托管该操作的服务器更新其NDK插件版本时,它总是失败。这也需要我更新我的版本。然而,这似乎从来都不简单

例如,在最近的一次更新中,我注意到NDK版本在服务器后面。因此,我将它使用的新版本下载到本地机器上,并更新了构建文件(包括本地NDK路径)。在确保它在本地机器上运行良好后,我将其推到分支机构。但是,服务器仍然认为它正在尝试在旧版本上构建,并且构建失败(即使我告诉gradle脚本使用新版本)

我可以成功地在master上进行此更新,是否有一些原因导致此操作/checkout@v2无法识别非主分支的生成文件更新

Welcome to Gradle 6.1.1!

Here are the highlights of this release:
 - Reusable dependency cache
 - Configurable compilation order between Groovy/Kotlin/Java/Scala
 - New sample projects in Gradle's documentation

For more details see https://docs.gradle.org/6.1.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)


> Configure project :app
WARNING: Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.
Support for ANDROID_NDK_HOME is deprecated and will be removed in the future. Use android.ndkVersion in build.gradle instead.
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> No version of NDK matched the requested version 21.3.6528147. Versions available locally: 21.4.7075529, 21.4.7075529, 21.4.7075529, 22.1.7171670

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 24s
Error: Process completed with exit code 1.