1
0
mirror of https://github.com/MGislv/NekoX.git synced 2024-06-30 10:14:04 +00:00

Fix release CI

This commit is contained in:
luvletter2333 2022-02-04 21:57:35 +08:00
parent 62c7c8b5cf
commit ba9f84efee
3 changed files with 6 additions and 10 deletions

View File

@ -115,9 +115,8 @@ jobs:
uses: actions/cache@v2
with:
path: |
TMessagesProj/jni/ffmpeg/build
TMessagesProj/jni/libvpx/build
key: ${{ hashFiles('ffmpeg_status', 'libvpx_status', 'TMessagesProj/jni/*ffmpeg*.sh', 'TMessagesProj/jni/*libvpx*.sh') }}
TMessagesProj/src/main/libs
key: ${{ hashFiles('TMessagesProj/jni/**', 'ffmpeg_status', 'boringssl_status') }}-${{ matrix.flavor }}
- name: Checkout Library
if: steps.cache.outputs.cache-hit != 'true'
run: |
@ -128,7 +127,8 @@ jobs:
with:
path: |
TMessagesProj/jni/ffmpeg/build
key: ${{ hashFiles('ffmpeg_status', 'TMessagesProj/jni/*_ffmpeg.sh') }}
TMessagesProj/jni/libvpx/build
key: ${{ hashFiles('ffmpeg_status', 'libvpx_status', 'TMessagesProj/jni/*ffmpeg*.sh', 'TMessagesProj/jni/*libvpx*.sh') }}
- name: BoringSSL Cache
uses: actions/cache@v2
if: steps.cache.outputs.cache-hit != 'true'
@ -393,6 +393,7 @@ jobs:
-F chat_id="${{ secrets.TELEGRAM_CHANNEL }}" \
-F document="@$apk" \
--silent --show-error --fail >/dev/null
sleep 1
done
}
upload apks/NekoX-*-mini-*-release.apk

View File

@ -4,7 +4,7 @@ apply plugin: "com.android.application"
apply plugin: "kotlin-android"
def verName = "8.5.1-preview01"
def verCode = 560
def verCode = 565
if (System.getenv("DEBUG_BUILD") == "true") {
verName += "-" + RuntimeUtil.execForStr("git log --pretty=format:'%h' -n 1").trim()

View File

@ -762,11 +762,6 @@ target_link_libraries(${NATIVE_LIB}
OpenSLES
cpufeatures)
#if (${ANDROID_ABI} STREQUAL "x86" OR ${ANDROID_ABI} STREQUAL "x86_64")
# target_link_libraries(${NATIVE_LIB}
# -Wl,--whole-archive vpxasm -Wl,--no-whole-archive
# c)
#endif()
include(AndroidNdkModules)
android_ndk_import_module_cpufeatures()