Colota - Android GPS Location tracker
Use checked-in gradle.properties instead of recreating it in CI
Max Dietrich73cc035a80d6
diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.ymlindex d6f00a8c..8525a4f6 100644--- a/.github/workflows/build-check.yml+++ b/.github/workflows/build-check.yml@@ -46,30 +46,18 @@ jobs:- name: Build shared packagerun: npm run build -w @colota/shared- - name: Create gradle.properties- run: |- cat <<EOF > apps/mobile/android/gradle.properties- org.gradle.jvmargs=-Xmx4096m -XX:MaxMetaspaceSize=512m- android.useAndroidX=true- hermesEnabled=true- newArchEnabled=true- EOF-- name: Run Kotlin unit testsrun: |cd apps/mobile/androidchmod +x gradlew- ./gradlew testGmsDebugUnitTest testFossDebugUnitTest --no-daemon \- -Dorg.gradle.jvmargs="-Xmx4096m -XX:MaxMetaspaceSize=512m"+ ./gradlew testGmsDebugUnitTest testFossDebugUnitTest --no-daemon- name: Build GMS Debug APKrun: |cd apps/mobile/android- ./gradlew assembleGmsDebug --no-daemon \- -Dorg.gradle.jvmargs="-Xmx4096m -XX:MaxMetaspaceSize=512m"+ ./gradlew assembleGmsDebug --no-daemon- name: Build FOSS Debug APKrun: |cd apps/mobile/android- ./gradlew assembleFossDebug --no-daemon \- -Dorg.gradle.jvmargs="-Xmx4096m -XX:MaxMetaspaceSize=512m"+ ./gradlew clean assembleFossDebug --no-daemon