This commit is contained in:
Ishan09811 2024-01-25 15:09:21 +05:30 committed by GitHub
parent 145b13ab29
commit c3fd7d07ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,7 +47,7 @@ jobs:
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/x86_64/
# Build the Android app with Gradle
cd src/pandroid
./gradlew assemble${{ matrix.build_type == 'Release' ? 'Release' : 'Debug' }}
./gradlew assemble${{ env.BUILD_TYPE }}
cd ../..
- name: Upload artifacts
@ -55,7 +55,7 @@ jobs:
with:
name: Android APKs (x86-64)
path: |
./src/pandroid/app/build/outputs/apk/${{ matrix.build_type == 'Release' ? 'release' : 'debug' }}/app-${{ matrix.build_type == 'Release' ? 'release' : 'debug' }}.apk
./src/pandroid/app/build/outputs/apk/${{ env.BUILD_TYPE }}/app-${{ env.BUILD_TYPE }}.apk
arm64:
runs-on: ubuntu-latest
@ -97,7 +97,7 @@ jobs:
mv ./build/libAlber.so ./src/pandroid/app/src/main/jniLibs/arm64-v8a/
# Build the Android app with Gradle
cd src/pandroid
./gradlew assemble${{ matrix.build_type == 'Release' ? 'Release' : 'Debug' }}
./gradlew assemble${{ env.BUILD_TYPE }}
cd ../..
- name: Upload artifacts
@ -105,4 +105,4 @@ jobs:
with:
name: Android APKs (arm64)
path: |
./src/pandroid/app/build/outputs/apk/${{ matrix.build_type == 'Release' ? 'release' : 'debug' }}/app-${{ matrix.build_type == 'Release' ? 'release' : 'debug' }}.apk
./src/pandroid/app/build/outputs/apk/${{ env.BUILD_TYPE }}/app-${{ env.BUILD_TYPE }}.apk