Skip to content

Add feature switch quickly theme option #478

Add feature switch quickly theme option

Add feature switch quickly theme option #478

Workflow file for this run

name: AndroidDebugBuild
on:
pull_request:
branches: [ develop ]
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 1
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: '17'
distribution: 'adopt'
cache: 'gradle'
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.android/build-cache
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Create google-services.json
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
shell: bash
run: |
echo "$GOOGLE_SERVICES_JSON" | base64 --decode > app/google-services.json
- name: Create local.properties
env:
RELEASE_API_KEY: ${{ secrets.RELEASE_API_KEY }}
WEB_CLIENT_ID: ${{ secrets.WEB_CLIENT_ID }}
run: |
touch local.properties
echo "release.api.key=$RELEASE_API_KEY" > local.properties
echo "web.client.id=$WEB_CLIENT_ID" >> local.properties
echo "WEB_CLIENT_ID degeri: $WEB_CLIENT_ID"
echo "RELEASE_API_KEY degeri: $RELEASE_API_KEY"
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build Debug APK
run: ./gradlew assembleDebug
- name: Upload Debug APK
if: success()
uses: actions/[email protected]
with:
name: WalliesCompose-debug
path: app/build/outputs/apk/debug/app-debug.apk
retention-days: 7