From 673312a8cb476d7155e2ba623cc26fc69beb4938 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Sun, 11 Feb 2024 02:34:10 +0000 Subject: [PATCH] Echo funnel instead of cat --- .github/workflows/build.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43088a6..0b62df0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -120,14 +120,7 @@ jobs: ndk-version: r25c - name: Create Android MakeFile - run: - cat << EOF > ${{ env.PATH_TO_CODE_FOLDER }}/Android.mk - LOCAL_PATH := \$(call my-dir) - include \$(CLEAR_VARS) - LOCAL_MODULE := ImagineBreaker_android_${{ env.matrix.arch[1] }} - LOCAL_SRC_FILES := ${{ env.CODE_FILE }}.c - include \$(BUILD_SHARED_LIBRARY) - EOF + run: echo "LOCAL_PATH := \$(call my-dir)\ninclude \$(CLEAR_VARS)\nLOCAL_MODULE := ImagineBreaker_android_${{ env.matrix.arch[1] }}\nLOCAL_SRC_FILES := ${{ env.CODE_FILE }}.c\ninclude \$(BUILD_SHARED_LIBRARY)" > ${{ env.PATH_TO_CODE_FOLDER }}/Android.mk - name: Compile and Link run: cd ${{ env.PATH_TO_CODE_FOLDER }} && ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_PLATFORM=android-21 APP_ABI=${{ env.matrix.arch[0] }}