File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ MAGIC=magic.txt
55echo auto generated contents >> $MAGIC
66
77# fetch jni relative elements
8- grep ndkVersion app/build.gradle >> $MAGIC
8+ grep ndkVersion app/build.gradle.kts >> $MAGIC
99
1010elments=(" buildTypes" " externalNativeBuild" " splits" )
1111for element in ${elments[@]} ; do
12- awk " /$element /,/\}/" app/build.gradle >> $MAGIC
12+ awk " /$element /,/\}/" app/build.gradle.kts >> $MAGIC
1313done
1414
1515JNI_FILES=" $MAGIC app/src/main/jni/cmake/* app/src/main/jni/librime_jni/* app/src/main/jni/CMakeLists.txt"
@@ -18,4 +18,4 @@ hash=$(git submodule status)
1818hash=$hash $( $DIGEST_ALGORITHM $JNI_FILES )
1919hash=$( echo $hash | $DIGEST_ALGORITHM | cut -c-64)
2020
21- echo " ::set-output name= hash:: $hash "
21+ echo " {hash}={ hash} " >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments