feat: Simplify Android build workflow by removing JDK setup and Gradle caching steps

This commit is contained in:
2026-02-27 15:01:41 +05:00
parent ce41bbc329
commit 5eabd79a96

View File

@@ -15,27 +15,12 @@ on:
jobs:
build:
runs-on: linux
container:
image: cimg/android:2024.01
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Gradle packages
uses: actions/cache@v5
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
if-no-files-found: ignore
- name: Make gradlew executable
run: chmod +x ./gradlew