[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ci): fix keystore path and re-enable cache

+4 -25
+4 -25
.github/workflows/android-internal-release.yml
··· 56 56 echo "MESSAGES_SERVICE_URL=https://chat.sprk.so" >> .env 57 57 echo "SHOWCASES_LICENSE_FLUTTER=${{ secrets.SHOWCASES_LICENSE_FLUTTER }}" >> .env 58 58 echo "SIGNUPS_DISABLED=false" >> .env 59 - 60 - - name: Set versionCode (commit count + run attempt) 61 - run: | 59 + 60 + # Set versionCode (commit count + run attempt) 62 61 COMMIT_COUNT=$(git rev-list --count HEAD) 63 62 BUILD_ATTEMPT=${{ github.run_attempt }} 64 63 VERSION_CODE=$((COMMIT_COUNT * 10 + BUILD_ATTEMPT)) ··· 67 66 68 67 - name: Configure Keystore 69 68 run: | 70 - echo "storeFile=/home/runner/work/_temp/keystore/upload_key.jks" >> key.properties 69 + echo "storeFile=$RUNNER_TEMP/keystore/upload_key.jks" >> key.properties 71 70 echo "storePassword=${{ secrets.SIGNING_STORE_PASSWORD }}" >> key.properties 72 71 echo "keyAlias=${{ secrets.SIGNING_KEY_ALIAS }}" >> key.properties 73 72 echo "keyPassword=${{ secrets.SIGNING_KEY_PASSWORD }}" >> key.properties 74 73 working-directory: android 75 74 76 - - name: Configure Gradle for CI 77 - run: | 78 - # Override memory settings for CI (GitHub Actions has ~7GB RAM) 79 - # Use sed to replace existing values or append if they don't exist 80 - if grep -q "^org.gradle.jvmargs=" gradle.properties; then 81 - sed -i 's|^org.gradle.jvmargs=.*|org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError|' gradle.properties 82 - else 83 - echo "org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G -XX:ReservedCodeCacheSize=256m -XX:+HeapDumpOnOutOfMemoryError" >> gradle.properties 84 - fi 85 - # Disable daemon and parallel builds for CI stability 86 - echo "org.gradle.daemon=false" >> gradle.properties 87 - echo "org.gradle.parallel=false" >> gradle.properties 88 - echo "org.gradle.configureondemand=false" >> gradle.properties 89 - working-directory: android 90 - 91 - - name: Clean previous builds 92 - run: | 93 - flutter clean 94 - cd android && ./gradlew clean || true 95 - 96 75 - name: Build PlayStore AAB 97 76 env: 98 77 POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }} 99 78 timeout-minutes: 30 100 79 run: | 101 - flutter build appbundle --verbose 80 + flutter build appbundle 102 81 103 82 - name: Upload AAB to PlayStore 104 83 uses: r0adkll/upload-google-play@v1