From c0f243c09856e42f9f9b75e6b5e950bae2399f46 Mon Sep 17 00:00:00 2001 From: Ravbug Date: Wed, 5 Jun 2024 12:59:27 -0700 Subject: [PATCH] Build assets on Android --- .github/workflows/build.yml | 11 +++++++++++ RavEngine | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d48b74a..5450f1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,6 +28,17 @@ jobs: cd sdl-android-builder ./gradlew assemble${{ matrix.target }} + - name: Copy Assets + run: | + cd sdl-android-builder/app/.cxx + assets=sdl-android-builder/app/.cxx/`find . -name "main.rvedata" -print -quit` + cp $assets sdl-android-builder/app/src/main/assets/ + + - name: Build APK with Assets + run: | + cd sdl-android-builder + ./gradlew assemble${{ matrix.target }} + - name: Upload the APK uses: actions/upload-artifact@v3 with: diff --git a/RavEngine b/RavEngine index ec2ab0d..15868b5 160000 --- a/RavEngine +++ b/RavEngine @@ -1 +1 @@ -Subproject commit ec2ab0df2fcd7062c9bf2cd52913bfcc2119a9f0 +Subproject commit 15868b5bcf41d9f5c688fea8df0493bbef92f01b